From da9b640c501fe443ae509ff79c172c58fcb45f9b Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Mon, 16 Oct 2023 11:22:15 +0200 Subject: [PATCH] Update eth/fetcher/tx_fetcher_test.go --- eth/fetcher/tx_fetcher_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eth/fetcher/tx_fetcher_test.go b/eth/fetcher/tx_fetcher_test.go index 5946cf3747..a3a44f1609 100644 --- a/eth/fetcher/tx_fetcher_test.go +++ b/eth/fetcher/tx_fetcher_test.go @@ -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})