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

pull/22547/head
Derek Chiang 4 years ago committed by GitHub
parent ec73ec092d
commit eaccdba4ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      core/tx_pool.go

@ -949,7 +949,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 {

Loading…
Cancel
Save