diff --git a/p2p/integrationtest/real-bidder/main.go b/p2p/integrationtest/real-bidder/main.go index b02943058..7e903c2c6 100644 --- a/p2p/integrationtest/real-bidder/main.go +++ b/p2p/integrationtest/real-bidder/main.go @@ -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