mirror of https://github.com/nucypher/nucypher.git
Use clearer message when address returned by signature for EIP712 does not match expected address.
parent
3853075407
commit
aa00d3aeb8
|
@ -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}"
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue