Skip to content

Commit

Permalink
merge fix: rename Celo1 to Donut
Browse files Browse the repository at this point in the history
  • Loading branch information
mcortesi committed Jan 6, 2021
1 parent 0b83229 commit 30237db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/istanbul/backend/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ func (sb *Backend) EpochSize() uint64 {

// LookbackWindow returns the size of the lookback window for calculating uptime (in blocks)
func (sb *Backend) LookbackWindow(header *types.Header, state *state.StateDB) (uint64, error) {
if !sb.chain.Config().IsCelo1(header.Number) {
if !sb.chain.Config().IsDonut(header.Number) {
return sb.config.LookbackWindow, nil
}
return blockchain_parameters.GetLookbackWindow(header, state)
Expand Down

0 comments on commit 30237db

Please sign in to comment.