From 7e8db1cd2e0ab508bd1123ef54afdbfc681b082b Mon Sep 17 00:00:00 2001 From: Jim McDonald Date: Sat, 28 Jan 2023 00:55:28 +0000 Subject: [PATCH] Handle false positive linting issue. --- shamir/shamir.go | 1 + 1 file changed, 1 insertion(+) diff --git a/shamir/shamir.go b/shamir/shamir.go index dc1545a..2eb4652 100644 --- a/shamir/shamir.go +++ b/shamir/shamir.go @@ -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)