Skip to content

Commit

Permalink
chore: silence rand concern
Browse files Browse the repository at this point in the history
  • Loading branch information
dutterbutter committed Apr 23, 2021
1 parent 2658a92 commit be7873d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dot/state/block_notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ func (bs *BlockState) notifyFinalized(hash common.Hash) {
}

func generateID() byte {
// skipcq: GSC-G404
id := rand.Intn(256) //nolint
return byte(id)
}

0 comments on commit be7873d

Please sign in to comment.