Skip to content

Commit 59d2eec

Browse files
core/txpool/blobpool: fix incorrect arguments in test (#31127)
Fixes the linter on master which was broken by #30559
1 parent 7c7b7f6 commit 59d2eec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/txpool/blobpool/blobpool_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1108,7 +1108,7 @@ func TestChangingSlotterSize(t *testing.T) {
11081108

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

0 commit comments

Comments
 (0)