mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 22:44:24 +00:00
linter: add metalinter to Makefile & apply some fixes
This commit is contained in:
@@ -25,11 +25,13 @@ func New(coder Encoder, store keys.Storage, codec keys.Codec) Manager {
|
||||
}
|
||||
|
||||
// exists just to make sure we fulfill the Signer interface
|
||||
// nolint [ megacheck, deadcode ]
|
||||
func (s Manager) assertSigner() keys.Signer {
|
||||
return s
|
||||
}
|
||||
|
||||
// exists just to make sure we fulfill the Manager interface
|
||||
// nolint [ megacheck, deadcode ]
|
||||
func (s Manager) assertKeyManager() keys.Manager {
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user