Skip to content

Commit

Permalink
undo debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Oct 2, 2024
1 parent 6a1fc86 commit fa31c0b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ func SetupGenesisBlock(
log.Info("skipping verifying activated network upgrades on chain config")
} else {
compatErr := storedcfg.CheckCompatible(newcfg, height, timestamp)
log.Info("Checking chain config compatibility", "compatErr", compatErr, "newcfg", newcfg, "storedcfg", storedcfg, "height", height, "timestamp", timestamp)
if compatErr != nil && ((timestamp != 0 && compatErr.RewindToTime != 0) || (height != 0)) {
if compatErr != nil && ((height != 0 && compatErr.RewindToBlock != 0) || (timestamp != 0 && compatErr.RewindToTime != 0)) {
return newcfg, stored, compatErr
}
}
Expand Down

0 comments on commit fa31c0b

Please sign in to comment.