*: add nolint comment to deprecated math/rand usages
They are used in tests only. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
parent
0c6627f13d
commit
1560df6913
2 changed files with 2 additions and 0 deletions
|
@ -50,5 +50,6 @@ func Uint160() util.Uint160 {
|
|||
}
|
||||
|
||||
func init() {
|
||||
//nolint:staticcheck
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue