diff --git a/core/tx_pool_test.go b/core/tx_pool_test.go index 8392dc2e0..e25649e69 100644 --- a/core/tx_pool_test.go +++ b/core/tx_pool_test.go @@ -3741,8 +3741,11 @@ func TestTransactionPoolUnderpricingEIP1559(t *testing.T) { if pending != 2 { t.Fatalf("pending transactions mismatched: have %d, want %d", pending, 2) } - if queued != 2 { - t.Fatalf("queued transactions mismatched: have %d, want %d", queued, 2) + if queued != 1 { + t.Fatalf("queued transactions mismatched: have %d, want %d", queued, 1) + } + if err := validateEvents(events, 3); err != nil { + t.Fatalf("original event firing failed: %v", err) } if err := validateEvents(events, 1); err != nil { t.Fatalf("additional event firing failed: %v", err)