diff --git a/store/iavl/store.go b/store/iavl/store.go index 7ccea9007767..9fa9c0ab7433 100644 --- a/store/iavl/store.go +++ b/store/iavl/store.go @@ -114,7 +114,7 @@ func UnsafeNewStore(tree *iavl.MutableTree) *Store { // Any mutable operations executed will result in a panic. func (st *Store) GetImmutable(version int64) (*Store, error) { if !st.VersionExists(version) { - return nil, fmt.Errorf("version mismatch on immutable IAVL tree; version does not exist. Version has either been pruned, or is for a future block height") + return nil, nil } iTree, err := st.tree.GetImmutable(version)