chore(all): remove duplicate words (#15799)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
charlessswang
2025-04-21 18:57:28 +08:00
committed by GitHub
parent 05e1ae207b
commit 3f95621703
8 changed files with 8 additions and 8 deletions

View File

@@ -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())