Use clearer message when address returned by signature for EIP712 does not match expected address.

pull/3522/head
derekpierre 2024-07-24 10:47:34 -04:00
parent 3853075407
commit aa00d3aeb8
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class EIP712Auth(EvmAuth):
if address_for_signature != expected_address:
# verification failed - addresses don't match
raise cls.AuthenticationFailed(
f"EIP712 verification failed; signature does not match expected address, {expected_address}"
f"EIP712 verification failed; signature not valid for expected address, {expected_address}"
)