-
Notifications
You must be signed in to change notification settings - Fork 525
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
[AH] Ensure either the seller or the authority is passed as signer on the sell instruction #912
Conversation
Workflow |
This change seems good, Is this motivated by web3 js throwing an error when a signer is not needed? |
Hey @austbot, No because the program accepts the scenario where both the seller and the authority are passed as signers. When that's the case, it just happens that:
The motivation behind this PR is that the invariant defined here don't match the code. Even though this ends up not causing a security threat, it's best to be explicit about what we expect to avoid bad surprises in the future. This was raised by issue #911. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Easy approve on this one!
@lorisleiva this looks good to merge to me |
patch version |
Hey folks, what do you think about this PR? <3 #1059 |
SaleRequiresExactlyOneSigner
error.See #911