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 b346ffe commit 84f02b9Copy full SHA for 84f02b9
node/src/block_producer/block_producer_state.rs
@@ -310,7 +310,9 @@ impl BlockProducerCurrentState {
310
return Some(BlockProducerWonSlotDiscardReason::BestTipGlobalSlotHigher);
311
}
312
313
- if &won_slot.staking_ledger_hash != best_tip.staking_epoch_ledger_hash() {
+ if &won_slot.staking_ledger_hash != best_tip.staking_epoch_ledger_hash()
314
+ && &won_slot.staking_ledger_hash != best_tip.next_epoch_ledger_hash()
315
+ {
316
return Some(BlockProducerWonSlotDiscardReason::BestTipStakingLedgerDifferent);
317
318
0 commit comments