core: fix method comment for txpool.requestReset (#22543)

This commit is contained in:
Derek Chiang 2021-03-22 00:10:51 -07:00 committed by Daniel Liu
parent 349dc1bacd
commit 5edfd8f9eb

View file

@ -1099,7 +1099,7 @@ func (pool *TxPool) removeTx(hash common.Hash, outofbound bool) {
}
}
// requestPromoteExecutables requests a pool reset to the new head block.
// requestReset requests a pool reset to the new head block.
// The returned channel is closed when the reset has occurred.
func (pool *TxPool) requestReset(oldHead *types.Header, newHead *types.Header) chan struct{} {
select {