Function reth_primitives::recover_signer_unchecked

source ยท
pub fn recover_signer_unchecked(
    sig: &[u8; 65],
    msg: &[u8; 32],
) -> Result<Address, Error>
Available on crate feature secp256k1 only.
Expand description

Recovers the address of the sender using secp256k1 pubkey recovery.

Converts the public key into an ethereum address by hashing the public key with keccak256.

This does not ensure that the s value in the signature is low, and just wraps the underlying secp256k1 library.