Skip to content

Commit

Permalink
cmd/devp2p: fix modulo in makeBlobTxs (ethereum#28970)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlyguo committed Feb 15, 2024
1 parent efddedc commit 2a1d94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/devp2p/internal/ethtest/suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ func (s *Suite) makeBlobTxs(count, blobs int, discriminator byte) (txs types.Tra
from, nonce := s.chain.GetSender(5)
for i := 0; i < count; i++ {
// Make blob data, max of 2 blobs per tx.
blobdata := make([]byte, blobs%2)
blobdata := make([]byte, blobs%3)
for i := range blobdata {
blobdata[i] = discriminator
blobs -= 1
Expand Down

0 comments on commit 2a1d94b

Please sign in to comment.