Skip to content

Commit

Permalink
feat:refactor clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickqiaoo committed Dec 25, 2023
1 parent 6f12177 commit 384af36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Wallet {
let secp = Secp256k1::new();
let (private_key, public_key) = secp.generate_keypair(&mut OsRng);

let mut rng = randRng::default();
let mut rng = randRng;
let mut random_bytes = [0u8; 32];
rng.fill_bytes(&mut random_bytes);
let spend_key = keys::SpendingKey::from_zip32_seed(&random_bytes, 0, 0).unwrap();
Expand Down

0 comments on commit 384af36

Please sign in to comment.