From a9e11509794e1439ad208a9bf7dbc95504986456 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 9 Feb 2023 15:21:24 +1100 Subject: [PATCH] fix: switch to crypto/rand.Read --- merkledag_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/merkledag_test.go b/merkledag_test.go index 61fb814..d02ae74 100644 --- a/merkledag_test.go +++ b/merkledag_test.go @@ -3,13 +3,13 @@ package merkledag_test import ( "bytes" "context" + "crypto/rand" "encoding/hex" "encoding/json" "errors" "fmt" "io" "math" - "math/rand" "strings" "sync" "testing"