mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-28 08:37:22 +00:00
core: fix method comment for txpool.requestReset (#22543)
This commit is contained in:
parent
ec73ec092d
commit
eaccdba4ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue