pub fn signature_recover_signer(&self, msg: &[u8]) -> Result<Address, failure::Error> {
        let signed_bytes = Self::message_to_signed_bytes(msg);
        let public_key = recover(&self.0, &signed_bytes)?;
        Ok(public_to_address(&public_key))
    }
/// Checks signature and returns ethereum address of the signer.
/// message should be the same message that was passed to `eth.sign`(or similar) method
/// as argument. No hashing and prefixes required.
Checks signature and returns ethereum address of the signer.
message should be the same message that was passed to `eth.sign`(or similar) method
as argument. No hashing and prefixes required.
Checks signature and returns ethereum address of the signer . message should be the same message that was passed to ` eth . sign ` ( or similar ) method as argument . No hashing and prefixes required .
pub fn signature_recover_signer(&self, msg: &[u8]) -> Result<Address, failure::Error> {
        let signed_bytes = Self::message_to_signed_bytes(msg);
        let public_key = recover(&self.0, &signed_bytes)?;
        Ok(public_to_address(&public_key))
    }
pub fn signature_recover_signer ( & self , msg : & [ u8 ] ) -> Result < Address , failure :: Error > { let signed_bytes = Self :: message_to_signed_bytes ( msg ) ; let public_key = recover ( & self . 0 , & signed_bytes ) ? ; Ok ( public_to_address ( & public_key ) ) }
Checks signature and returns ethereum address of the signer.
Checks signature and returns ethereum address of the signer .
&self
msg
&[u8]