Skip to content

Unusual Payment Path xrpld 3.3 #8178

Description

@donovanhide
xrpld -q tx 10160F06FECBCD1014E1274E5396522D6FD9C5B8B666ABDFC42BAD9AE8003331
{
   "result" : {
      "Account" : "rMVyA5ELV2TvPbkVcEXn2JsjS8MWh7ye67",
      "Amount" : "2148336",
      "DeliverMax" : "2148336",
      "Destination" : "rMVyA5ELV2TvPbkVcEXn2JsjS8MWh7ye67",
      "Fee" : "20",
      "LastLedgerSequence" : 106785486,
      "Paths" : [
         [
            {
               "account" : "rnrnAWQtbKZQyp9waHnsPNkWVNAQdSBB23",
               "type" : 1
            },
            {
               "currency" : "XRP",
               "type" : 16
            },
            {
               "currency" : "536B657463680000000000000000000000000000",
               "issuer" : "rKqoG3EJLokTMVEjyFMmTaz9DX2cgJFaLu",
               "type" : 48
            }
         ]
      ],
      "SendMax" : {
         "currency" : "536B657463680000000000000000000000000000",
         "issuer" : "rKqoG3EJLokTMVEjyFMmTaz9DX2cgJFaLu",
         "value" : "2148682"
      },
      "Sequence" : 105065866,
      "SigningPubKey" : "ED701045F5FA55A54CD4076E89CD3B0E426DD3A29192D71264266877D76E5B14C5",
      "TransactionType" : "Payment",
      "TxnSignature" : "FD4584650E423A94B65375132BEF13BF91D97B2307489ECE57FB5ABA65CCEC9DF1187413A4B624DEA38B4361BED6B8E10BDB7C01E7EE5B34151A1FED774A0A0C",
      "ctid" : "C65D6ABC00140000",
      "date" : 841954380,
      "hash" : "10160F06FECBCD1014E1274E5396522D6FD9C5B8B666ABDFC42BAD9AE8003331",
      "inLedger" : 106785468,
      "ledger_index" : 106785468,
      "meta" : {
         "AffectedNodes" : [
            {
               "ModifiedNode" : {
                  "FinalFields" : {
                     "Account" : "rMVyA5ELV2TvPbkVcEXn2JsjS8MWh7ye67",
                     "Balance" : "27208362",
                     "Flags" : 0,
                     "OwnerCount" : 6,
                     "Sequence" : 105065867
                  },
                  "LedgerEntryType" : "AccountRoot",
                  "LedgerIndex" : "5A674272CF256B1010B28B299B41E4A7EF9816E5277653E822A1A704B04FCB93",
                  "PreviousFields" : {
                     "Balance" : "25060046",
                     "Sequence" : 105065866
                  },
                  "PreviousTxnID" : "0BEEBD045A91F9F672321C6A99139072AFDAE2B417BC2328AC38E7863FDD00B6",
                  "PreviousTxnLgrSeq" : 106785466
               }
            },
            {
               "ModifiedNode" : {
                  "FinalFields" : {
                     "Balance" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rrrrrrrrrrrrrrrrrrrrBZbvji",
                        "value" : "-19445033.1480965"
                     },
                     "Flags" : 2228224,
                     "HighLimit" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rMVyA5ELV2TvPbkVcEXn2JsjS8MWh7ye67",
                        "value" : "13112973224.03277"
                     },
                     "HighNode" : "2",
                     "LowLimit" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rKqoG3EJLokTMVEjyFMmTaz9DX2cgJFaLu",
                        "value" : "0"
                     },
                     "LowNode" : "36"
                  },
                  "LedgerEntryType" : "RippleState",
                  "LedgerIndex" : "7A8863B97A15B5EE0232BCA14963499423B7CBBE36B1A7FDB48676446C195767",
                  "PreviousFields" : {
                     "Balance" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rrrrrrrrrrrrrrrrrrrrBZbvji",
                        "value" : "-21486823.22161266"
                     }
                  },
                  "PreviousTxnID" : "0BEEBD045A91F9F672321C6A99139072AFDAE2B417BC2328AC38E7863FDD00B6",
                  "PreviousTxnLgrSeq" : 106785466
               }
            },
            {
               "ModifiedNode" : {
                  "FinalFields" : {
                     "Balance" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rrrrrrrrrrrrrrrrrrrrBZbvji",
                        "value" : "2330009602.175107"
                     },
                     "Flags" : 17367040,
                     "HighLimit" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rKqoG3EJLokTMVEjyFMmTaz9DX2cgJFaLu",
                        "value" : "0"
                     },
                     "HighNode" : "8",
                     "LowLimit" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rnrnAWQtbKZQyp9waHnsPNkWVNAQdSBB23",
                        "value" : "0"
                     },
                     "LowNode" : "0"
                  },
                  "LedgerEntryType" : "RippleState",
                  "LedgerIndex" : "BD4BA0E73A019184D89FCF84309030F92954F2519F9A296D25D10ED7D2E0B2D8",
                  "PreviousFields" : {
                     "Balance" : {
                        "currency" : "536B657463680000000000000000000000000000",
                        "issuer" : "rrrrrrrrrrrrrrrrrrrrBZbvji",
                        "value" : "2327967812.101591"
                     }
                  },
                  "PreviousTxnID" : "6CD3BAE567981119102DC39354AF331928AB4796960628A682D3EF615EC6B20C",
                  "PreviousTxnLgrSeq" : 106785468
               }
            },
            {
               "ModifiedNode" : {
                  "FinalFields" : {
                     "AMMID" : "81967EFC394BBD7D1ABF716FD1B7B02D39D250C1232620CB8C51E871FC2E891C",
                     "Account" : "rnrnAWQtbKZQyp9waHnsPNkWVNAQdSBB23",
                     "Balance" : "2474189130",
                     "Flags" : 26214400,
                     "OwnerCount" : 1,
                     "Sequence" : 96320023
                  },
                  "LedgerEntryType" : "AccountRoot",
                  "LedgerIndex" : "F849D9ECD1AE552BD83E4074EC4859265A7DE5B2D4FE45B60C575DD76D2BD8FD",
                  "PreviousFields" : {
                     "Balance" : "2476337466"
                  },
                  "PreviousTxnID" : "6CD3BAE567981119102DC39354AF331928AB4796960628A682D3EF615EC6B20C",
                  "PreviousTxnLgrSeq" : 106785468
               }
            }
         ],
         "TransactionIndex" : 20,
         "TransactionResult" : "tesSUCCESS",
         "delivered_amount" : "2148336"
      },
      "status" : "success",
      "validated" : true
   }
}

There are three unusual things I can see about this payment path:

  • The Sketch currency appears twice, as SendMax and the last hop of the path before the XRP Amount.
  • XRP appears twice as the Amount and the middle hop of the path.
  • The AMM account (rnrnAWQtbKZQyp9waHnsPNkWVNAQdSBB23) is in the path in rippling format, which makes no sense.

To me it looks like someone might have fuzz-tested a weird payment path spec which has some other uses!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions