File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
testnet/stacks-node/src/nakamoto_node Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -1636,24 +1636,6 @@ impl RelayerThread {
1636
1636
} ) ;
1637
1637
let mut last_committed = self . make_block_commit ( & tip_block_ch, & tip_block_bh) ?;
1638
1638
1639
- // last chance -- is this tenure still the canonical tip?
1640
- let ( cur_stacks_tip_ch, _) = SortitionDB :: get_canonical_stacks_chain_tip_hash (
1641
- self . sortdb . conn ( ) ,
1642
- )
1643
- . unwrap_or_else ( |e| {
1644
- panic ! ( "Failed to load canonical stacks tip: {e:?}" ) ;
1645
- } ) ;
1646
- if last_committed. get_tenure_id ( ) != & cur_stacks_tip_ch {
1647
- info ! (
1648
- "Stacks tenure changed prior to commit" ;
1649
- "current_stacks_tip_ch" => %cur_stacks_tip_ch,
1650
- "committed_tenure_ch" => %last_committed. get_tenure_id( ) ,
1651
- "issue_commit_tip_ch" => %tip_block_ch,
1652
- "issue_commit_tip_bh" => %tip_block_bh
1653
- ) ;
1654
- return Err ( NakamotoNodeError :: StacksTipChanged ) ;
1655
- }
1656
-
1657
1639
let Some ( tip_height) = NakamotoChainState :: get_block_header (
1658
1640
self . chainstate . db ( ) ,
1659
1641
& StacksBlockId :: new ( & tip_block_ch, & tip_block_bh) ,
You can’t perform that action at this time.
0 commit comments