reth::primitives

Function public_key_to_address

pub fn public_key_to_address(public: PublicKey) -> Address
Expand description

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