mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
add comment
This commit is contained in:
parent
35fb778349
commit
cb8ea89473
1 changed files with 1 additions and 0 deletions
|
|
@ -104,6 +104,7 @@ func New(gasTip uint64, chain BlockChain, subpools []SubPool) (*TxPool, error) {
|
|||
return pool, nil
|
||||
}
|
||||
|
||||
// FlushAllTransactions removes all transactions from all subpools
|
||||
func (p *TxPool) FlushAllTransactions() {
|
||||
for _, subpool := range p.subpools {
|
||||
subpool.FlushAllTransactions()
|
||||
|
|
|
|||
Loading…
Reference in a new issue