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

Reverse byte array from GetStorage RPC #20

Open
revett opened this issue Oct 27, 2017 · 0 comments
Open

Reverse byte array from GetStorage RPC #20

revett opened this issue Oct 27, 2017 · 0 comments
Assignees
Labels

Comments

@revett
Copy link

revett commented Oct 27, 2017

Problem

GetStorage RPC call returns a hex encoded string which has been reversed.

Solution

Reverse the string before returning it.

Then let the consuming application decode the hex string to the desired format (decimal, string etc).

@revett revett added the Task label Oct 27, 2017
@revett revett self-assigned this Oct 27, 2017
maier-stefan pushed a commit to data-love/neo-go-sdk that referenced this issue Jan 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant