core: remove unused error from TxPool.Pending (#23720)

This commit is contained in:
jwasinger
2021-10-13 23:00:45 +02:00
committed by GitHub
parent 79b727bc8a
commit 011fe3eb5e
8 changed files with 9 additions and 23 deletions

View File

@ -255,10 +255,6 @@ func TestStateChangeDuringTransactionPoolReset(t *testing.T) {
trigger = true
<-pool.requestReset(nil, nil)
_, err := pool.Pending(false)
if err != nil {
t.Fatalf("Could not fetch pending transactions: %v", err)
}
nonce = pool.Nonce(address)
if nonce != 2 {
t.Fatalf("Invalid nonce, want 2, got %d", nonce)