Skip to content

Commit 2a1d94b

Browse files
authored
cmd/devp2p: fix modulo in makeBlobTxs (#28970)
1 parent efddedc commit 2a1d94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/devp2p/internal/ethtest/suite.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ func (s *Suite) makeBlobTxs(count, blobs int, discriminator byte) (txs types.Tra
762762
from, nonce := s.chain.GetSender(5)
763763
for i := 0; i < count; i++ {
764764
// Make blob data, max of 2 blobs per tx.
765-
blobdata := make([]byte, blobs%2)
765+
blobdata := make([]byte, blobs%3)
766766
for i := range blobdata {
767767
blobdata[i] = discriminator
768768
blobs -= 1

0 commit comments

Comments
 (0)