From 18b8f6f095e0a66abe5187a7788fecb997fec1b3 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 This commit was moved from ipfs/go-merkledag@a9e11509794e1439ad208a9bf7dbc95504986456 --- ipld/merkledag/merkledag_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipld/merkledag/merkledag_test.go b/ipld/merkledag/merkledag_test.go index 61fb8141d..d02ae7465 100644 --- a/ipld/merkledag/merkledag_test.go +++ b/ipld/merkledag/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"