Open cdietze opened 1 year ago
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.
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.