Skip to content

Commit

Permalink
Update process/block/baseProcess.go
Browse files Browse the repository at this point in the history
Co-authored-by: Sorin Stanculeanu <[email protected]>
  • Loading branch information
ssd04 and sstanculeanu authored Oct 3, 2024
1 parent bb31c75 commit c908cb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion process/block/baseProcess.go
Original file line number Diff line number Diff line change
Expand Up @@ -1015,7 +1015,7 @@ func (bp *baseProcessor) cleanupPoolsForCrossShard(
crossNotarizedHeader.GetNonce(),
)

if bp.enableEpochsHandler.IsFlagEnabled(common.EquivalentMessagesFlag) {
if bp.enableEpochsHandler.IsFlagEnabledInEpoch(common.EquivalentMessagesFlag, crossNotarizedHeader.GetEpoch()) {
err = bp.dataPool.Proofs().CleanupProofsBehindNonce(shardID, noncesToPrevFinal)
if err != nil {
log.Warn("failed to cleanup notarized proofs behind nonce",
Expand Down

0 comments on commit c908cb2

Please sign in to comment.