Handle false positive linting issue.

This commit is contained in:
Jim McDonald
2023-01-28 00:55:28 +00:00
parent 864bb30244
commit 7e8db1cd2e

View File

@@ -157,6 +157,7 @@ func Split(secret []byte, parts, threshold int) ([][]byte, error) {
}
// Generate random list of x coordinates
//nolint
rnd := mathrand.New(&cryptoSource{})
xCoordinates := rnd.Perm(255)