Skip to content

Commit c424212

Browse files
committed
Secp256k1PrivateKey::random() instrad of new()
1 parent 5a70c43 commit c424212

File tree

1 file changed

+1
-1
lines changed
  • testnet/stacks-node/src/tests/signer

1 file changed

+1
-1
lines changed

testnet/stacks-node/src/tests/signer/v0.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7899,7 +7899,7 @@ fn block_validation_check_rejection_timeout_heuristic() {
78997899
info!("------------------------- Test Setup -------------------------");
79007900
let num_signers = 20;
79017901
let timeout = Duration::from_secs(30);
7902-
let sender_sk = Secp256k1PrivateKey::new();
7902+
let sender_sk = Secp256k1PrivateKey::random();
79037903
let sender_addr = tests::to_addr(&sender_sk);
79047904
let send_amt = 100;
79057905
let send_fee = 180;

0 commit comments

Comments
 (0)