mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-29 03:05:49 +00:00
linting: fixup some stuffs
This commit is contained in:
@@ -42,8 +42,9 @@ func New(dir string) FileStore {
|
||||
return FileStore{dir}
|
||||
}
|
||||
|
||||
var _ keys.Storage = FileStore{}
|
||||
|
||||
// assertStorage just makes sure we implement the proper Storage interface
|
||||
// nolint [ megacheck, deadcode ]
|
||||
func (s FileStore) assertStorage() keys.Storage {
|
||||
return s
|
||||
}
|
||||
|
||||
@@ -22,8 +22,9 @@ func New() MemStore {
|
||||
return MemStore{}
|
||||
}
|
||||
|
||||
var _ keys.Storage = MemStore{}
|
||||
|
||||
// assertStorage just makes sure we implement the Storage interface
|
||||
// nolint [ megacheck, deadcode ]
|
||||
func (s MemStore) assertStorage() keys.Storage {
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user