Skip to content

Commit fff292b

Browse files
committed
fix: build warnings in test commands
1 parent 2464dab commit fff292b

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ pub struct ChainVerifyMinerNakaBlockCount {
1717
#[derive(Debug)]
1818
enum HeightStrategy {
1919
AfterBootToEpoch3,
20+
#[allow(dead_code)]
2021
AfterSpecificHeight(u64),
2122
}
2223

@@ -48,6 +49,7 @@ impl ChainVerifyMinerNakaBlockCount {
4849
)
4950
}
5051

52+
#[allow(dead_code)]
5153
pub fn after_specific_height(
5254
ctx: Arc<SignerTestContext>,
5355
miner_index: usize,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ impl ChainExpectNakaBlockProposal {
222222
}
223223
}
224224

225+
#[allow(dead_code)]
225226
pub fn with_ok(ctx: Arc<SignerTestContext>, miner_index: usize) -> Self {
226227
Self {
227228
ctx,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ impl SignerTestContext {
6161
}
6262

6363
// Getter for num_transfer_txs
64+
#[allow(dead_code)]
6465
pub fn get_num_transfer_txs(&self) -> u64 {
6566
self.num_transfer_txs
6667
}

0 commit comments

Comments
 (0)