core/txpool/blobpool: fix incorrect arguments in test (#31127)

Fixes the linter on master which was broken by
https://github.com/ethereum/go-ethereum/pull/30559
This commit is contained in:
Marius van der Wijden 2025-02-04 18:10:40 +01:00 committed by GitHub
parent 7c7b7f6ab1
commit 59d2eec9fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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 {