diff --git a/eth/fetcher/tx_fetcher_test.go b/eth/fetcher/tx_fetcher_test.go index 1df5a175c3..0aea66f00a 100644 --- a/eth/fetcher/tx_fetcher_test.go +++ b/eth/fetcher/tx_fetcher_test.go @@ -2009,7 +2009,7 @@ func TestTransactionForgotten(t *testing.T) { ) go fetcher.loop() tx1 := types.NewTransaction(0, common.Address{}, common.Big0, 0, common.Big0, nil) - tx1.SetTime(time.Now().Add(-maxTxUnderpricedTimeout)) + tx1.SetTime(time.Now().Add(-maxTxUnderpricedTimeout - 1*time.Second)) tx2 := types.NewTransaction(1, common.Address{}, common.Big0, 0, common.Big0, nil) if fetcher.isKnownUnderpriced(tx1.Hash()) { t.Fatal("unknown hash can not be underpriced")