Skip to content

isSigner flag incorrect when compiling transaction #133

@cdietze

Description

@cdietze

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.

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