mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-26 09:54:19 +00:00
linting: fixup some stuffs
This commit is contained in:
@@ -24,14 +24,15 @@ func New(coder Encoder, store keys.Storage, codec keys.Codec) Manager {
|
||||
}
|
||||
}
|
||||
|
||||
var _ keys.Signer = Manager{}
|
||||
var _ keys.Manager = 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
|
||||
}
|
||||
|
||||
@@ -144,7 +144,6 @@ func TestKeyManagement(t *testing.T) {
|
||||
// }
|
||||
// }
|
||||
|
||||
// nolint: unparam
|
||||
func assertPassword(assert *assert.Assertions, cstore cryptostore.Manager, name, pass, badpass string) {
|
||||
err := cstore.Update(name, badpass, pass)
|
||||
assert.NotNil(err)
|
||||
|
||||
Reference in New Issue
Block a user