diff --git a/store/rootmulti/store.go b/store/rootmulti/store.go index 082fc3c43f33..092a8abd04c3 100644 --- a/store/rootmulti/store.go +++ b/store/rootmulti/store.go @@ -247,7 +247,7 @@ func (rs *Store) loadVersion(ver int64, upgrades *types.StoreUpgrades) error { if upgrades.IsAdded(key.Name()) || upgrades.RenamedFrom(key.Name()) != "" { storeParams.initialVersion = uint64(ver) + 1 } else if commitID.Version != ver && storeParams.typ == types.StoreTypeIAVL { - return fmt.Errorf("version of store %s mismatch root store's version; expected %d got %d; new stores should be added using StoreUpgrades", key.Name(), ver, commitID.Version) + return fmt.Errorf("version of store %q mismatch root store's version; expected %d got %d; new stores should be added using StoreUpgrades", key.Name(), ver, commitID.Version) } store, err := rs.loadCommitStoreFromParams(key, commitID, storeParams)