diff --git a/src/asset_reward/lib.rs b/src/asset_reward/lib.rs index 959607b..114c421 100755 --- a/src/asset_reward/lib.rs +++ b/src/asset_reward/lib.rs @@ -257,7 +257,7 @@ mod asset_reward { /// A helper function to recover the signer from a ECDSA signature from a given message. pub fn recover_signer(signature: &SignatureValue, message: &HashValue) -> Result<[u8; 33]> { let mut output: [u8; 33] = [0; 33]; - match ink::env::ecdsa_recover(&signature, &message, &mut output) { + match ink::env::ecdsa_recover(signature, message, &mut output) { Ok(_) => Ok(output), Err(_) => Err(Error::InvalidSigner), }