Skip to content

Commit 82e390d

Browse files
committed
Add a bit more logging
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent f12961e commit 82e390d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

testnet/stacks-node/src/neon_node.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ impl BlockMinerThread {
24182418
&self.burn_block,
24192419
&stackerdbs,
24202420
SignerMessage::MockProposal(mock_proposal.clone()),
2421-
MinerSlotID::BlockProposal, // There is no specific slot for mock miner messages. We use BlockProposal for MockProposal as well.
2421+
MinerSlotID::BlockProposal, // There is no specific slot for mock miner messages so we use BlockProposal for MockProposal as well.
24222422
self.config.is_mainnet(),
24232423
&mut miners_stackerdb,
24242424
&election_sortition,
@@ -2428,6 +2428,7 @@ impl BlockMinerThread {
24282428
}
24292429

24302430
// Retrieve any MockSignatures from stackerdb
2431+
info!("Waiting for mock signatures...");
24312432
let mock_signatures =
24322433
self.wait_for_mock_signatures(&mock_proposal, &stackerdbs, Duration::from_secs(10))?;
24332434

@@ -2443,7 +2444,7 @@ impl BlockMinerThread {
24432444
&self.burn_block,
24442445
&stackerdbs,
24452446
SignerMessage::MockBlock(mock_block.clone()),
2446-
MinerSlotID::BlockPushed, // There is no specific slot for mock miner messages
2447+
MinerSlotID::BlockPushed, // There is no specific slot for mock miner messages. Let's use BlockPushed for MockBlock since MockProposal uses BlockProposal.
24472448
self.config.is_mainnet(),
24482449
&mut miners_stackerdb,
24492450
&election_sortition,

0 commit comments

Comments
 (0)