Skip to content

Commit

Permalink
core: fix method comment for txpool.requestReset (ethereum#22543)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekchiang authored and gzliudan committed May 14, 2024
1 parent 349dc1b commit 5edfd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/tx_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5edfd8f

Please sign in to comment.