Skip to content

Commit

Permalink
Fix argument error
Browse files Browse the repository at this point in the history
  • Loading branch information
ironbeer committed Dec 5, 2024
1 parent 09a5366 commit 8bec3fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion params/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ func (c *ChainConfig) checkCompatible(newcfg *ChainConfig, headNumber *big.Int,
}
for i, stored := range c.ZeroFeeTimes {
new := newcfg.ZeroFeeTimes[i]
if isForkTimestampIncompatible(&stored, &new, headTimestamp) {
if isForkTimestampIncompatible(&stored, &new, headTimestamp, genesisTimestamp) {
return newTimestampCompatError(
fmt.Sprintf("zeroFeeTimes[%d] fork timestamp", i),
&stored,
Expand Down

0 comments on commit 8bec3fa

Please sign in to comment.