Skip to content

Commit 11001c8

Browse files
committed
chore: cargo fmt
1 parent aacd4d3 commit 11001c8

File tree

1 file changed

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

1 file changed

+8
-7
lines changed

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ use crate::tests::nakamoto_integrations::{
8484
POX_4_DEFAULT_STACKER_BALANCE, POX_4_DEFAULT_STACKER_STX_AMT,
8585
};
8686
use crate::tests::neon_integrations::{
87-
get_account, get_chain_info, get_chain_info_opt, get_sortition_info, get_sortition_info_ch, next_block_and_wait, run_until_burnchain_height, submit_tx, submit_tx_fallible, test_observer
87+
get_account, get_chain_info, get_chain_info_opt, get_sortition_info, get_sortition_info_ch,
88+
next_block_and_wait, run_until_burnchain_height, submit_tx, submit_tx_fallible, test_observer,
8889
};
8990
use crate::tests::{
9091
self, gen_random_port, make_contract_call, make_contract_publish, make_stacks_transfer,
@@ -11446,18 +11447,20 @@ fn multiple_miners_empty_sortition() {
1144611447
.unwrap();
1144711448
}
1144811449

11449-
1145011450
let last_active_sortition = get_sortition_info(&conf);
1145111451
assert!(last_active_sortition.was_sortition);
1145211452

1145311453
// lets mine a btc flash block
1145411454
let rl2_commits_before = rl2_commits.load(Ordering::SeqCst);
1145511455
let rl1_commits_before = rl1_commits.load(Ordering::SeqCst);
11456-
signer_test.running_nodes.btc_regtest_controller.build_next_block(2);
11456+
signer_test
11457+
.running_nodes
11458+
.btc_regtest_controller
11459+
.build_next_block(2);
1145711460

1145811461
wait_for(60, || {
11459-
Ok(rl2_commits.load(Ordering::SeqCst) > rl2_commits_before &&
11460-
rl1_commits.load(Ordering::SeqCst) > rl1_commits_before)
11462+
Ok(rl2_commits.load(Ordering::SeqCst) > rl2_commits_before
11463+
&& rl1_commits.load(Ordering::SeqCst) > rl1_commits_before)
1146111464
})
1146211465
.unwrap();
1146311466

@@ -11520,13 +11523,11 @@ fn multiple_miners_empty_sortition() {
1152011523
"The last two transactions after the flash block must be included in a block"
1152111524
);
1152211525

11523-
1152411526
rl2_coord_channels
1152511527
.lock()
1152611528
.expect("Mutex poisoned")
1152711529
.stop_chains_coordinator();
1152811530
run_loop_stopper_2.store(false, Ordering::SeqCst);
1152911531
run_loop_2_thread.join().unwrap();
1153011532
signer_test.shutdown();
11531-
1153211533
}

0 commit comments

Comments
 (0)