Skip to main content

recover_maybe_impersonated_address

Function recover_maybe_impersonated_address 

Source
pub fn recover_maybe_impersonated_address(
    signed_tx: &TransactionSigned,
) -> Result<H160, ()>
Expand description

Recover sender address from signed transaction, handling impersonated transactions. For impersonated transactions (fake signatures), extracts the address embedded in the signature. For normal transactions, performs standard ECDSA recovery.