reth_testing_utils::generators

Function sign_tx_with_key_pair

Source
pub fn sign_tx_with_key_pair(
    key_pair: Keypair,
    tx: Transaction,
) -> TransactionSigned
Expand description

Signs the [Transaction] with the given key pair.