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

isSigner flag incorrect when compiling transaction #133

Open
cdietze opened this issue Oct 6, 2023 · 0 comments
Open

isSigner flag incorrect when compiling transaction #133

cdietze opened this issue Oct 6, 2023 · 0 comments

Comments

@cdietze
Copy link

cdietze commented Oct 6, 2023

I have a transaction that references an account multiple times. The account appears as both isSigner true and false.

When the transaction is compiled the flag from the first occurrence of the account is used. This could have isSigner false.

What should happen is that isSigner is true if the account occurs at least once as signer. See this code here.

In the project this code was ported from this is solved by sorting first putting the isSigner accounts first.

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