Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Alok committed Aug 7, 2024
1 parent 0f708c0 commit 593f3cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/pkg/tests/preconf/preconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package preconf

import (
"context"
crand "crypto/rand"
"encoding/hex"
"fmt"
"io"
Expand Down Expand Up @@ -459,7 +460,7 @@ func getRandomBid(
} else {
// get random tx hash
randBytes := make([]byte, 32)
rand.Read(randBytes)
_, _ = crand.Read(randBytes)
txHashes[0] = strings.TrimPrefix(common.BytesToHash(randBytes).String(), "0x")
}
}
Expand Down

0 comments on commit 593f3cd

Please sign in to comment.