quiet the stupid linter
This commit is contained in:
parent
e582f0b713
commit
7587ab6234
@ -32,7 +32,7 @@ func NewBloomLiveSetEnv() (*BloomLiveSetEnv, error) {
|
|||||||
|
|
||||||
func (e *BloomLiveSetEnv) NewLiveSet(name string) (LiveSet, error) {
|
func (e *BloomLiveSetEnv) NewLiveSet(name string) (LiveSet, error) {
|
||||||
salt := make([]byte, 4)
|
salt := make([]byte, 4)
|
||||||
_, err := rand.Read(salt)
|
_, err := rand.Read(salt) //nolint
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, xerrors.Errorf("error reading salt: %w", err)
|
return nil, xerrors.Errorf("error reading salt: %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user