Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid character in transfer memo breaks to_json() #124

Open
cc32d9 opened this issue May 11, 2021 · 2 comments
Open

Invalid character in transfer memo breaks to_json() #124

cc32d9 opened this issue May 11, 2021 · 2 comments

Comments

@cc32d9
Copy link
Contributor

cc32d9 commented May 11, 2021

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
Copy link
Contributor Author

cc32d9 commented May 11, 2021

data from ship:

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

@cc32d9
Copy link
Contributor Author

cc32d9 commented May 11, 2021

abieos commit: 00417b5

cc32d9 added a commit to cc32d9/eosio_token_accounting that referenced this issue May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant