Преглед на файлове

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

Derek Chiang преди 4 години
родител
ревизия
eaccdba4ab
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/tx_pool.go

+ 1 - 1
core/tx_pool.go

@@ -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 {