Merge PR #2037: transient store missed to implement store type interface
* transientstore missed to implement store type interface * rename pointer name from rs to ts
This commit is contained in:
parent
1a700206b8
commit
3cf3ab11b0
@ -2,6 +2,7 @@ package store
|
||||
|
||||
import (
|
||||
dbm "github.com/tendermint/tendermint/libs/db"
|
||||
sdk "github.com/cosmos/cosmos-sdk/types"
|
||||
)
|
||||
|
||||
var _ KVStore = (*transientStore)(nil)
|
||||
@ -41,3 +42,8 @@ func (ts *transientStore) Prefix(prefix []byte) KVStore {
|
||||
func (ts *transientStore) Gas(meter GasMeter, config GasConfig) KVStore {
|
||||
return NewGasKVStore(meter, config, ts)
|
||||
}
|
||||
|
||||
// Implements Store.
|
||||
func (ts *transientStore) GetStoreType() StoreType {
|
||||
return sdk.StoreTypeTransient
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user