diff --git a/Gopkg.toml b/Gopkg.toml index bab9f00c5..cd61489ff 100644 --- a/Gopkg.toml +++ b/Gopkg.toml @@ -50,8 +50,7 @@ [[override]] name = "github.com/tendermint/iavl" source = "github.com/binance-chain/bnc-tendermint-iavl" - branch = "add_set_version" -# version = "=v0.12.0-binance.0" + version = "=v0.12.0-binance.1" [[override]] name = "github.com/tendermint/tendermint" diff --git a/store/statesync_helper.go b/store/statesync_helper.go index f5704e5e7..1e6845d69 100644 --- a/store/statesync_helper.go +++ b/store/statesync_helper.go @@ -98,7 +98,7 @@ func (helper *StateSyncHelper) getCommitedSortedStoreKeys() []sdk.StoreKey { kvStores := helper.commitMS.GetCommitKVStores() names := make([]string, 0, len(kvStores)) nameToKey := make(map[string]sdk.StoreKey, len(kvStores)) - for key, store := range helper.commitMS.GetCommitKVStores() { + for key, store := range kvStores { if !sdk.ShouldCommitStore(key.Name()) { continue }