Skip to content

Commit

Permalink
Update add_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
web3-bot authored Aug 23, 2023
1 parent 8cd85d4 commit 9cbc4a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion trie/add_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package trie

import (
crand "crypto/rand"
"math/rand"
"testing"

Expand Down Expand Up @@ -77,7 +78,7 @@ func randomTestAddSample(setSize, keySizeByte int) *testAddSample {
keySet := make([]key.Key, setSize)
for i := range keySet {
k := make([]byte, keySizeByte)
rand.Read(k)
crand.Read(k)
keySet[i] = key.BytesKey(k)
}
return &testAddSample{
Expand Down

0 comments on commit 9cbc4a8

Please sign in to comment.