Skip to content

Commit

Permalink
fix: real-bidder panic
Browse files Browse the repository at this point in the history
  • Loading branch information
mrekucci committed Jul 11, 2024
1 parent 413038a commit 6a4d1df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/integrationtest/real-bidder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func main() {
}

bundleLen := rand.Intn(10)
bundleStart := rand.Intn(len(currentBlock.txns) - 1)
bundleStart := rand.Intn(len(currentBlock.txns))
bundleEnd := bundleStart + bundleLen
if bundleEnd > len(currentBlock.txns) {
bundleEnd = len(currentBlock.txns) - 1
Expand Down

0 comments on commit 6a4d1df

Please sign in to comment.