fix: update signature error

This commit is contained in:
Georgios Konstantopoulos 2020-10-14 14:59:31 +03:00 committed by GitHub
parent 62b7ce4366
commit ac93c0bc65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ pub enum SignatureError {
DecodingError(#[from] rustc_hex::FromHexError), DecodingError(#[from] rustc_hex::FromHexError),
/// Thrown when signature verification failed (i.e. when the address that /// Thrown when signature verification failed (i.e. when the address that
/// produced the signature did not match the expected address) /// 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), VerificationError(Address, Address),
/// Internal error during signature recovery /// Internal error during signature recovery
#[error(transparent)] #[error(transparent)]