mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-26 09:54:19 +00:00
lint: enable nolintlinter, disable on tests
## Description - enable nolintlint - disable linting on tests Closes: #XXX
This commit is contained in:
@@ -160,7 +160,6 @@ func (pubKey PubKeyEd25519) String() string {
|
||||
return fmt.Sprintf("PubKeyEd25519{%X}", pubKey[:])
|
||||
}
|
||||
|
||||
// nolint: golint
|
||||
func (pubKey PubKeyEd25519) Equals(other crypto.PubKey) bool {
|
||||
if otherEd, ok := other.(PubKeyEd25519); ok {
|
||||
return bytes.Equal(pubKey[:], otherEd[:])
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// nolint: dupl
|
||||
package merkle
|
||||
|
||||
import (
|
||||
|
||||
@@ -47,12 +47,10 @@ func New(key []byte) (cipher.AEAD, error) {
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
// nolint
|
||||
func (c *xchacha20poly1305) NonceSize() int {
|
||||
return NonceSize
|
||||
}
|
||||
|
||||
// nolint
|
||||
func (c *xchacha20poly1305) Overhead() int {
|
||||
return TagSize
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user