reth::core::primitives::transaction::signature

Function recover_signer_unchecked

pub fn recover_signer_unchecked(
    signature: &PrimitiveSignature,
    hash: FixedBytes<32>,
) -> Option<Address>
Expand description

Recover signer from message hash, without ensuring that the signature has a low s value.

Using this for signature validation will succeed, even if the signature is malleable or not compliant with EIP-2. This is provided for compatibility with old signatures which have large s values.