Skip to content

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

@IssaMansour

Description

@IssaMansour

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions