Skip to content

Commit f9ee678

Browse files
committed
Keep linters happy
1 parent 103c388 commit f9ee678

File tree

4 files changed

+8
-9
lines changed

4 files changed

+8
-9
lines changed

testnet/stacks-node/src/tests/signer/commands/bitcoin_mining.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,4 +135,4 @@ impl Command<SignerTestState, SignerTestContext> for ChainGenerateBtcBlocks {
135135
})
136136
]
137137
}
138-
}
138+
}

testnet/stacks-node/src/tests/signer/commands/block_wait.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@ impl Command<SignerTestState, SignerTestContext> for ChainExpectTenureChange {
362362
expected_height, self.miner_index
363363
);
364364

365-
let block = wait_for_block_pushed_by_miner_key(30, expected_height, &miner_pk)
366-
.expect(&format!(
365+
let block =
366+
wait_for_block_pushed_by_miner_key(30, expected_height, &miner_pk).expect(&format!(
367367
"Failed to get tenure change block for miner {} at height {}",
368368
self.miner_index, expected_height
369369
));
@@ -391,7 +391,10 @@ impl Command<SignerTestState, SignerTestContext> for ChainExpectTenureChange {
391391
}
392392

393393
fn label(&self) -> String {
394-
format!("WAIT_FOR_TENURE_CHANGE_BLOCK_FROM_MINER_{}", self.miner_index)
394+
format!(
395+
"WAIT_FOR_TENURE_CHANGE_BLOCK_FROM_MINER_{}",
396+
self.miner_index
397+
)
395398
}
396399

397400
fn build(

testnet/stacks-node/src/tests/signer/commands/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,7 @@ mod sortition;
1111
mod stacks_mining;
1212
mod transfer;
1313

14-
pub use bitcoin_mining::{
15-
ChainGenerateBtcBlocks, MinerMineBtcBlocks,
16-
};
14+
pub use bitcoin_mining::{ChainGenerateBtcBlocks, MinerMineBtcBlocks};
1715
pub use block_commit::MinerSubmitBlockCommit;
1816
pub use block_verify::ChainVerifyMinerBlockCount;
1917
pub use block_wait::{ChainExpectNakaBlock, ChainExpectNakaBlockProposal, ChainExpectTenureChange};

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10963,11 +10963,9 @@ fn disallow_reorg_within_first_proposal_burn_block_timing_secs_but_more_than_one
1096310963
(ChainMinerCommitOp::disable_for(test_context.clone(), MINER2)),
1096410964
ChainBootToEpoch3,
1096510965
(ChainMinerCommitOp::disable_for(test_context.clone(), MINER1)),
10966-
1096710966
(MinerMineBtcBlocks::one(test_context.clone())), // Sets block height in the state
1096810967
(ChainExpectTenureChange::new(test_context.clone(), MINER1)),
1096910968
(ChainExpectNakaBlock::from_state_height(test_context.clone(), MINER1)), // Uses block height from the state
10970-
1097110969
(ChainExpectSortitionWinner::new(test_context.clone(), MINER1)),
1097210970
(MinerSubmitBlockCommit::new(test_context.clone(), MINER2)),
1097310971
(ChainStacksMining::pause()),

0 commit comments

Comments
 (0)