mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Update eth/fetcher/tx_fetcher_test.go
This commit is contained in:
parent
b186dedd8d
commit
da9b640c50
1 changed files with 1 additions and 2 deletions
|
|
@ -2009,8 +2009,7 @@ func TestTransactionForgotten(t *testing.T) {
|
||||||
)
|
)
|
||||||
fetcher.Start()
|
fetcher.Start()
|
||||||
defer fetcher.Stop()
|
defer fetcher.Stop()
|
||||||
// Create a TXuno
|
// Create one TX which is 5 minutes old, and one which is recent
|
||||||
//which is 5 minutes old, and one which is recent
|
|
||||||
tx1 := types.NewTx(&types.LegacyTx{Nonce: 0})
|
tx1 := types.NewTx(&types.LegacyTx{Nonce: 0})
|
||||||
tx1.SetTime(time.Now().Add(-maxTxUnderpricedTimeout - 1*time.Second))
|
tx1.SetTime(time.Now().Add(-maxTxUnderpricedTimeout - 1*time.Second))
|
||||||
tx2 := types.NewTx(&types.LegacyTx{Nonce: 1})
|
tx2 := types.NewTx(&types.LegacyTx{Nonce: 1})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue