Skip to content

Commit

Permalink
add compat err to err log (#1100)
Browse files Browse the repository at this point in the history
* add compat err to err log

* rename to err
  • Loading branch information
ceyonur committed Feb 23, 2024
1 parent bc8d95b commit 814d0de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func SetupGenesisBlock(
if compatErr != nil && ((height != 0 && compatErr.RewindToBlock != 0) || (timestamp != 0 && compatErr.RewindToTime != 0)) {
storedData, _ := storedcfg.ToWithUpgradesJSON().MarshalJSON()
newData, _ := newcfg.ToWithUpgradesJSON().MarshalJSON()
log.Error("found mismatch between config on database vs. new config", "storedConfig", string(storedData), "newConfig", string(newData))
log.Error("found mismatch between config on database vs. new config", "storedConfig", string(storedData), "newConfig", string(newData), "err", compatErr)
return newcfg, stored, compatErr
}
}
Expand Down

0 comments on commit 814d0de

Please sign in to comment.