Skip to content

Commit b9438fa

Browse files
committed
Cargo fmt
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 80fbce7 commit b9438fa

File tree

1 file changed

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

1 file changed

+10
-3
lines changed

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

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5176,8 +5176,12 @@ fn continue_after_fast_block_no_sortition() {
51765176
})
51775177
.expect("Timed out waiting for boostrapped node to catch up to the miner");
51785178

5179-
let mining_pkh_1 = Hash160::from_node_public_key(&StacksPublicKey::from_private(&conf.miner.mining_key.unwrap()));
5180-
let mining_pkh_2 = Hash160::from_node_public_key(&StacksPublicKey::from_private(&conf_node_2.miner.mining_key.unwrap()));
5179+
let mining_pkh_1 = Hash160::from_node_public_key(&StacksPublicKey::from_private(
5180+
&conf.miner.mining_key.unwrap(),
5181+
));
5182+
let mining_pkh_2 = Hash160::from_node_public_key(&StacksPublicKey::from_private(
5183+
&conf_node_2.miner.mining_key.unwrap(),
5184+
));
51815185
debug!("The miner key for miner 1 is {mining_pkh_1}");
51825186
debug!("The miner key for miner 2 is {mining_pkh_2}");
51835187

@@ -5233,7 +5237,10 @@ fn continue_after_fast_block_no_sortition() {
52335237
.get_peer_info()
52345238
.expect("Failed to get peer info")
52355239
.stacks_tip_height;
5236-
Ok(blocks_mined1.load(Ordering::SeqCst) > blocks_processed_before_1 && stacks_height > stacks_height_before)
5240+
Ok(
5241+
blocks_mined1.load(Ordering::SeqCst) > blocks_processed_before_1
5242+
&& stacks_height > stacks_height_before,
5243+
)
52375244
})
52385245
.unwrap();
52395246

0 commit comments

Comments
 (0)