mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
chore(all): remove duplicate words (#15799)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@@ -175,7 +175,7 @@ pub fn sign_tx_with_key_pair(key_pair: Keypair, tx: Transaction) -> TransactionS
|
||||
TransactionSigned::new_unhashed(tx, signature)
|
||||
}
|
||||
|
||||
/// Generates a a new random [Keypair].
|
||||
/// Generates a new random [Keypair].
|
||||
pub fn generate_key<R: Rng>(_rng: &mut R) -> Keypair {
|
||||
let secp = Secp256k1::new();
|
||||
Keypair::new(&secp, &mut rand_08::thread_rng())
|
||||
|
||||
Reference in New Issue
Block a user