From 997f9aa47623f8aeb922aef599edd5dd03076f4c Mon Sep 17 00:00:00 2001 From: huangyi Date: Fri, 21 May 2021 17:49:49 +0800 Subject: [PATCH] debugging --- x/upgrade/keeper/keeper.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x/upgrade/keeper/keeper.go b/x/upgrade/keeper/keeper.go index 1092885bcb3f..84d8080dc634 100644 --- a/x/upgrade/keeper/keeper.go +++ b/x/upgrade/keeper/keeper.go @@ -3,6 +3,7 @@ package keeper import ( "encoding/binary" "encoding/json" + "fmt" "io/ioutil" "os" "path" @@ -292,6 +293,7 @@ func (k Keeper) ReadUpgradeInfoFromDisk() (store.UpgradeInfo, error) { return upgradeInfo, err } + fmt.Println("upgrade info", data) if err := json.Unmarshal(data, &upgradeInfo); err != nil { return upgradeInfo, err }