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 committed Mar 22, 2021
1 parent ec73ec0 commit eaccdba
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 @@ -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 {
Expand Down

0 comments on commit eaccdba

Please sign in to comment.