We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
3a001b1
Encode an invalid asset code that has more than four characters, where the additional characters beyond the fourth are zero:
$ echo -n '"ABCD\\\\x00"' | stellar-xdr e --type AssetCode AAAAAkFCQ0QAAAAAAAAAAA== $ echo -n 'AAAAAkFCQ0QAAAAAAAAAAA==' | stellar-xdr d --type AssetCode --output json "ABCD" $ echo -n '"ABCD"' | stellar-xdr e --type AssetCode AAAAAUFCQ0Q=
That the invalid asset code be preserved:
$ echo -n '"ABCD\\\\x00"' | stellar-xdr e --type AssetCode AAAAAkFCQ0QAAAAAAAAAAA== $ echo -n 'AAAAAkFCQ0QAAAAAAAAAAA==' | stellar-xdr d --type AssetCode --output json "ABCD\\\\x00"
Alternatively, at least an error occur.
The text was updated successfully, but these errors were encountered:
Fix is in:
Sorry, something went wrong.
leighmcculloch
Successfully merging a pull request may close this issue.
What version are you using?
3a001b1
What did you do and what did you see?
Encode an invalid asset code that has more than four characters, where the additional characters beyond the fourth are zero:
What did you expect to see?
That the invalid asset code be preserved:
Alternatively, at least an error occur.
The text was updated successfully, but these errors were encountered: