Update eth/fetcher/tx_fetcher_test.go

This commit is contained in:
Martin Holst Swende 2023-10-16 11:22:15 +02:00 committed by Marius van der Wijden
parent b186dedd8d
commit da9b640c50

View file

@ -2009,8 +2009,7 @@ func TestTransactionForgotten(t *testing.T) {
)
fetcher.Start()
defer fetcher.Stop()
// Create a TXuno
//which is 5 minutes old, and one which is recent
// Create one TX which is 5 minutes old, and one which is recent
tx1 := types.NewTx(&types.LegacyTx{Nonce: 0})
tx1.SetTime(time.Now().Add(-maxTxUnderpricedTimeout - 1*time.Second))
tx2 := types.NewTx(&types.LegacyTx{Nonce: 1})