mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
Fixes a lint issue introduced via #33347.
This commit is contained in:
parent
08aaa7c5ff
commit
43b7b4e8d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue