We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71cb039 commit 8e4031cCopy full SHA for 8e4031c
testnet/stacks-node/src/nakamoto_node/miner.rs
@@ -222,6 +222,9 @@ impl BlockMinerThread {
222
// now, actually run this tenure
223
loop {
224
let new_block = loop {
225
+ // If we're mock mining, we may not have processed the block that the
226
+ // actual tenure winner committed to yet. So, before attempting to
227
+ // mock mine, check if the parent is processed.
228
if self.config.get_node_config(false).mock_mining {
229
let burn_db_path = self.config.get_burn_db_file_path();
230
let mut burn_db = SortitionDB::open(
0 commit comments