reth_testing_utils::generators

Function sign_tx_with_random_key_pair

Source
pub fn sign_tx_with_random_key_pair<R: Rng>(
    rng: &mut R,
    tx: Transaction,
) -> TransactionSigned
Expand description

Signs the [Transaction] with a random key pair.