From 814d0deb6d9e82e9ed830636a748626721736ad8 Mon Sep 17 00:00:00 2001 From: Ceyhun Onur Date: Sat, 24 Feb 2024 00:13:20 +0300 Subject: [PATCH] add compat err to err log (#1100) * add compat err to err log * rename to err --- core/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/genesis.go b/core/genesis.go index 182814c73e..78037416d7 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -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 } }