mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-29 20:51:45 +00:00
remove some assertXxx funcs
This commit is contained in:
@ -22,13 +22,9 @@ func New() MemStore {
|
||||
return MemStore{}
|
||||
}
|
||||
|
||||
// assert MemStore satisfies keys.Storage
|
||||
var _ keys.Storage = MemStore{}
|
||||
|
||||
// assertStorage just makes sure we implement the Storage interface
|
||||
func (s MemStore) assertStorage() keys.Storage {
|
||||
return s
|
||||
}
|
||||
|
||||
// Put adds the given key, returns an error if it another key
|
||||
// is already stored under this name
|
||||
func (s MemStore) Put(name string, key []byte, info keys.Info) error {
|
||||
|
Reference in New Issue
Block a user