mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
added in some cuddling changes to address the linter / CI test fails
This commit is contained in:
parent
1e926cfad9
commit
7d765e03b0
2 changed files with 6 additions and 3 deletions
|
|
@ -512,7 +512,9 @@ func (l *txList) Filter(costLimit *uint256.Int, gasLimit uint64) (types.Transact
|
|||
}
|
||||
invalids = l.txs.filter(func(tx *types.Transaction) bool { return tx.Nonce() > lowest })
|
||||
}
|
||||
|
||||
l.txs.reheap()
|
||||
|
||||
return removed, invalids
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -719,9 +719,10 @@ func (f *TxFetcher) rescheduleWait(timer *mclock.Timer, trigger chan struct{}) {
|
|||
}
|
||||
}
|
||||
}
|
||||
*timer = f.clock.AfterFunc(f.txArrivalWait-time.Duration(now-earliest), func() {
|
||||
trigger <- struct{}{}
|
||||
})
|
||||
*timer = f.clock.AfterFunc(
|
||||
f.txArrivalWait-time.Duration(now-earliest),
|
||||
func() { trigger <- struct{}{} },
|
||||
)
|
||||
}
|
||||
|
||||
// rescheduleTimeout iterates over all the transactions currently in flight and
|
||||
|
|
|
|||
Loading…
Reference in a new issue