abieos icon indicating copy to clipboard operation
abieos copied to clipboard

Invalid character in transfer memo breaks to_json()

Open cc32d9 opened this issue 3 years ago • 2 comments

The memo string in this transaction causes abieos_bin_to_json to return "Extra data" error: https://proton.bloks.io/transaction/8098be423d342f377b069fd5ee2e31aa430805aa4a7415ac451eace87fdd142e?tab=raw

Something is wrong around line 32 in include/eosio/to_json.hpp, I'm still trying to figure out.

cc32d9 avatar May 11 '21 12:05 cc32d9

data from ship:

           "act" : {
               "account" : "eosio.token",
               "authorization" : [
                  {
                     "actor" : "fresh",
                     "permission" : "active"
                  }
               ],
               "data" : "000000008086d55d0000000000c0a68380f0fa020000000004585052000000002477656c636f6d6520746f2074686520667574757265206f662062616e6b696e672e2
0f09f90ba",
               "name" : "transfer"
            },

cc32d9 avatar May 11 '21 13:05 cc32d9

abieos commit: 00417b5e927e03efbb0ad04b9aa119bb6608e85b

cc32d9 avatar May 11 '21 13:05 cc32d9