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

fix(escrow-contract): checks if signer provided is authorized and rev… #53

Conversation

ColePBryan
Copy link
Contributor

…erts if not

it was previously ambiguous as to whether getEscrowAccountFromSignerAddress returned zero values because the account is empty or the signer is not actually authorized (possibly revoked). This fixes that by reverting with custom error if signer is not authorized.

…erts if not

it was previously ambiguous as to whether getEscrowAccountFromSignerAddress returned zero values because the account is empty or the signer is not actually authorized (possibly revoked). This fixes that by reverting with custom error if signer is not authorized.

Signed-off-by: Bryan Cole <bryan.cole@semiotic.ai>
@ColePBryan ColePBryan merged commit beb6f9e into main Aug 17, 2023
4 checks passed
@ColePBryan ColePBryan deleted the 39-l-05-retrieving-escrow-account-details-via-signers-can-be-misleading branch August 17, 2023 23:00
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

Successfully merging this pull request may close these issues.

L-05 Retrieving Escrow Account Details via Signers Can Be Misleading
2 participants