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

This commit is contained in:
Derek Chiang authored and GitHub committed 2021-03-22 09:10:51 +02:00
1 parent ec73ec092d
commit eaccdba4ab
1 file changed
+1 -1
+1 -1
View File
@@ -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 {