diff --git a/store/iavlstore.go b/store/iavlstore.go index edd3f115f..b636720a7 100644 --- a/store/iavlstore.go +++ b/store/iavlstore.go @@ -56,8 +56,8 @@ func newIAVLStore(tree *iavl.MutableTree, ps sdk.PruningStrategy) *IavlStore { return st } -func (st *iavlStore) GetImmutableTree() *iavl.ImmutableTree { - return st.tree.ImmutableTree +func (st *IavlStore) GetImmutableTree() *iavl.ImmutableTree { + return st.Tree.ImmutableTree } // Implements Committer.