Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed May 21, 2021
1 parent 842b060 commit 997f9aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x/upgrade/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package keeper
import (
"encoding/binary"
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path"
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit 997f9aa

Please sign in to comment.