Skip to content

Commit fa823b1

Browse files
committed
test: disable check_burn_view_changed()
1 parent 618c3a0 commit fa823b1

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

testnet/stacks-node/src/nakamoto_node/miner.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,8 @@ impl BlockMinerThread {
14061406
sortdb: &SortitionDB,
14071407
chain_state: &mut StacksChainState,
14081408
) -> Result<(), NakamotoNodeError> {
1409+
// BlockMinerThread::check_burn_view_changed(sortdb, chain_state, &self.burn_block)?;
1410+
14091411
if let MinerReason::BlockFound { late } = &self.reason {
14101412
if *late && self.last_block_mined.is_none() {
14111413
// this is a late BlockFound tenure change that ought to be appended to the Stacks

testnet/stacks-node/src/nakamoto_node/signer_coordinator.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,12 @@ impl SignerCoordinator {
371371
chain_state: &mut StacksChainState,
372372
burn_block: &BlockSnapshot,
373373
) -> bool {
374+
/*
374375
if BlockMinerThread::check_burn_view_changed(sortdb, chain_state, burn_block).is_err() {
375376
// can't continue mining -- burn view changed, or a DB error occurred
376377
return true;
377378
}
379+
*/
378380

379381
let cur_burn_chain_tip = SortitionDB::get_canonical_burn_chain_tip(sortdb.conn())
380382
.expect("FATAL: failed to query sortition DB for canonical burn chain tip");

0 commit comments

Comments
 (0)