Move GasKVStore to /store

This commit is contained in:
Christopher Goes
2018-05-16 01:14:30 +02:00
parent 702ffafa06
commit 147cf9f897
8 changed files with 74 additions and 84 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (c Context) Value(key interface{}) interface{} {
// KVStore fetches a KVStore from the MultiStore.
func (c Context) KVStore(key StoreKey) KVStore {
return NewGasKVStore(c.GasMeter(), c.multiStore().GetKVStore(key))
return c.multiStore().GetKVStoreWithGas(c.GasMeter(), key)
}
//----------------------------------------