Skip to content

Commit

Permalink
Avoid Bug In Analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
nisdas committed May 8, 2024
1 parent e0ac6e4 commit 2f383f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/endtoend/components/eth1/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ func randomBlobData() ([]byte, error) {
}

func randomAddress() common.Address {
switch mathRand.Int31n(5) { // #nosec G404
rNum := mathRand.Int31n(5) // #nosec G404
switch rNum {
case 0, 1, 2:
b := make([]byte, 20)
_, err := mathRand.Read(b) // #nosec G404
Expand Down

0 comments on commit 2f383f4

Please sign in to comment.