Skip to content

Commit 814d0de

Browse files
authored
add compat err to err log (#1100)
* add compat err to err log * rename to err
1 parent bc8d95b commit 814d0de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/genesis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func SetupGenesisBlock(
243243
if compatErr != nil && ((height != 0 && compatErr.RewindToBlock != 0) || (timestamp != 0 && compatErr.RewindToTime != 0)) {
244244
storedData, _ := storedcfg.ToWithUpgradesJSON().MarshalJSON()
245245
newData, _ := newcfg.ToWithUpgradesJSON().MarshalJSON()
246-
log.Error("found mismatch between config on database vs. new config", "storedConfig", string(storedData), "newConfig", string(newData))
246+
log.Error("found mismatch between config on database vs. new config", "storedConfig", string(storedData), "newConfig", string(newData), "err", compatErr)
247247
return newcfg, stored, compatErr
248248
}
249249
}

0 commit comments

Comments
 (0)