mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-25 17:34:36 +00:00
lint: enable nolintlinter, disable on tests
## Description - enable nolintlint - disable linting on tests Closes: #XXX
This commit is contained in:
+2
-2
@@ -173,8 +173,8 @@ func makeBlockIDRandom() BlockID {
|
||||
blockHash = make([]byte, tmhash.Size)
|
||||
partSetHash = make([]byte, tmhash.Size)
|
||||
)
|
||||
rand.Read(blockHash) //nolint: gosec
|
||||
rand.Read(partSetHash) //nolint: gosec
|
||||
rand.Read(blockHash)
|
||||
rand.Read(partSetHash)
|
||||
return BlockID{blockHash, PartSetHeader{123, partSetHash}}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user