From 2ea453c55602ba7f9f975911d2858d8fec8f57dd Mon Sep 17 00:00:00 2001 From: yihuang Date: Wed, 27 Mar 2024 12:24:20 +0800 Subject: [PATCH] prefix store support object store (#236) --- types/context.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/context.go b/types/context.go index abf3dbb9dc5b..6762b7ab2484 100644 --- a/types/context.go +++ b/types/context.go @@ -388,7 +388,7 @@ func (c Context) TransientStore(key storetypes.StoreKey) storetypes.KVStore { } // ObjectStore fetches an object store from the MultiStore, -func (c Context) OjectStore(key storetypes.StoreKey) storetypes.ObjKVStore { +func (c Context) ObjectStore(key storetypes.StoreKey) storetypes.ObjKVStore { return gaskv.NewObjStore(c.ms.GetObjKVStore(key), c.gasMeter, c.transientKVGasConfig) }