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:
I was wondering if someone has any idea. Do we need do something different in Android?
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:
I was wondering if someone has any idea. Do we need do something different in Android?
Thanks!