Skip to content

Commit

Permalink
core/txpool/blobpool: fix incorrect arguments in test (ethereum#31127)
Browse files Browse the repository at this point in the history
Fixes the linter on master which was broken by
ethereum#30559
  • Loading branch information
MariusVanDerWijden authored and a@b.c committed Feb 6, 2025
1 parent d065a3f commit 3cd9fc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/blobpool/blobpool_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ func TestChangingSlotterSize(t *testing.T) {

// Try to add the big blob tx. In the initial iteration it should overflow
// the pool. On the subsequent iteration it should be accepted.
errs := pool.Add([]*types.Transaction{tx3}, false, true)
errs := pool.Add([]*types.Transaction{tx3}, true)
if _, ok := pool.index[addr3]; ok && maxBlobs == 6 {
t.Errorf("expected insert of oversized blob tx to fail: blobs=24, maxBlobs=%d, err=%v", maxBlobs, errs[0])
} else if !ok && maxBlobs == 10 {
Expand Down

0 comments on commit 3cd9fc6

Please sign in to comment.