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

Transaction.from() function seems to be different between this lib and @solana/web3.js #128

Open
IssaMansour opened this issue Apr 30, 2023 · 0 comments

Comments

@IssaMansour
Copy link

Hello,

While trying to use Transaction.from(buffer) function of this lib in an Android app, I got a crash:
Fatal Exception: java.lang.IndexOutOfBoundsException: toIndex (64) is greater than size (52).

On the other hand, I tried to do the same on a cloud server, with @solana/web3.js who also provide a Transaction.from() function, and everything works well. I got a response looking like this:
Screen Shot 2023-04-30 at 5 28 12 PM

I was wondering if someone has any idea. Do we need do something different in Android?

Thanks!

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