From ac93c0bc65fb31a6d8467a74e0b16a21fced3c88 Mon Sep 17 00:00:00 2001 From: Georgios Konstantopoulos Date: Wed, 14 Oct 2020 14:59:31 +0300 Subject: [PATCH] fix: update signature error --- ethers-core/src/types/signature.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethers-core/src/types/signature.rs b/ethers-core/src/types/signature.rs index 43e7bb1d..cfab40b8 100644 --- a/ethers-core/src/types/signature.rs +++ b/ethers-core/src/types/signature.rs @@ -29,7 +29,7 @@ pub enum SignatureError { DecodingError(#[from] rustc_hex::FromHexError), /// Thrown when signature verification failed (i.e. when the address that /// produced the signature did not match the expected address) - #[error("Signature verification failed. Expected {0}, got {0}")] + #[error("Signature verification failed. Expected {0}, got {1}")] VerificationError(Address, Address), /// Internal error during signature recovery #[error(transparent)]