Skip to content

Commit

Permalink
prefix store support object store (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang authored and dudong2 committed Oct 16, 2024
1 parent f1220f3 commit 2ea453c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 2ea453c

Please sign in to comment.