Skip to content

Commit

Permalink
[ribbon] Improve UNAUTHORIZED swap error description (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sahilgat authored Mar 23, 2023
1 parent a2dc038 commit 58a55f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ribbon/ribbon/swap.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
DETAILED_ERROR_MESSAGES = {
"SIGNATURE_INVALID": "Signature invalid.",
"UNAUTHORIZED": (
"Signer address in bid not authorized by signatory. "
"Either ensure the signatory authorizes the signer wallet address. "
"Or ensure the signatory and signer wallet address is the same."
"Signer address in bid differs from signatory. "
"Either ensure the signer wallet has authorized signatory if using a delegate, "
"or ensure the signed message details are accurate."
),
"NONCE_ALREADY_USED": "This nonce has been previously used.",
"BID_TOO_SMALL": "Bid size has to be larger than minimum bid.",
Expand Down

0 comments on commit 58a55f4

Please sign in to comment.