Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
melekes committed Feb 1, 2025
1 parent 41364a7 commit 25c16fb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions consensus/cometbft/service/finalize_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ func (s *Service[LoggerT]) finalizeBlockInternal(
}

// Special case: height > 0, but blockDelay record doesn't exist in DB.
//
// NOTE: all nodes must enable this feature from the same height (requires
// coordinated upgrade).
if s.blockDelay == nil {
s.blockDelay = blockDelayUponGenesis(
req.Time,
Expand Down

0 comments on commit 25c16fb

Please sign in to comment.