eth: fix borked test introduced in merging #33347 (#35130)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Keeper Build (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

Fixes a lint issue introduced via #33347.
This commit is contained in:
Guillaume Ballet 2026-06-09 18:13:24 +02:00 committed by GitHub
parent 08aaa7c5ff
commit 43b7b4e8d9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -399,7 +399,7 @@ func TestDebugAPI_ClearTxpool(t *testing.T) {
// Verify the pool is empty after clear // Verify the pool is empty after clear
pool.Sync() pool.Sync()
pending := pool.Pending(txpool.PendingFilter{}) pending, _ := pool.Pending(txpool.PendingFilter{})
if len(pending) > 0 { if len(pending) > 0 {
t.Errorf("Expected empty pool after clear, but found %d accounts with pending transactions", len(pending)) t.Errorf("Expected empty pool after clear, but found %d accounts with pending transactions", len(pending))
} }