good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit eaccdba4 authored by Derek Chiang's avatar Derek Chiang Committed by GitHub
Browse files

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

parent ec73ec09
No related branches found
No related tags found
No related merge requests found
...@@ -949,7 +949,7 @@ func (pool *TxPool) removeTx(hash common.Hash, outofbound bool) { ...@@ -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. // The returned channel is closed when the reset has occurred.
func (pool *TxPool) requestReset(oldHead *types.Header, newHead *types.Header) chan struct{} { func (pool *TxPool) requestReset(oldHead *types.Header, newHead *types.Header) chan struct{} {
select { select {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment