mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 05:36:46 +00:00
core/txpool: opt with clear map
This commit is contained in:
parent
88922d2bf5
commit
01127d5919
1 changed files with 1 additions and 1 deletions
|
|
@ -1200,7 +1200,7 @@ func (pool *LegacyPool) scheduleReorgLoop() {
|
|||
launchNextRun = false
|
||||
|
||||
reset, dirtyAccounts = nil, nil
|
||||
queuedEvents = make(map[common.Address]*SortedMap)
|
||||
clear(queuedEvents)
|
||||
}
|
||||
|
||||
select {
|
||||
|
|
|
|||
Loading…
Reference in a new issue