Skip to content

Commit

Permalink
Use crypto/rand instead of math/rand
Browse files Browse the repository at this point in the history
Co-authored-by: semgrep-app[bot] <63493438+semgrep-app[bot]@users.noreply.github.com>
  • Loading branch information
bitwiseguy and semgrep-app[bot] authored Apr 9, 2024
1 parent 201d280 commit ad4e06f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-node/p2p/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"fmt"
"io"
"math/big"
"math/rand"
"crypto/rand"
"sync"
"sync/atomic"
"time"
Expand Down

0 comments on commit ad4e06f

Please sign in to comment.