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

Issue: game crashes if i do set_payer() on deserialized transaction #278

Open
ZenRepublic opened this issue Sep 10, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@ZenRepublic
Copy link

Description

creating transaction from serialized form:
var transaction:Transaction = Transaction.new_from_bytes(transaction_bytes)

and then setting a payer:
transaction.set_payer(wallet)

this crashes the game.

if i instead do transaction.set_signers([wallet]) it's not crashing

Suggested Improvements

No response

Extra Information

No response

@ZenRepublic
Copy link
Author

ok so there is some sort of difference with transactions created regularly and those created with new_from_bytes()

for regular transactions, it crashes if i write transaction.set_signers()
and for new_from_bytes ones, it crashes if i do transaction.set_payer()

@Virus-Axel Virus-Axel added the bug Something isn't working label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants