Skip to content

Commit

Permalink
Merge remote-tracking branch 'awen/perf-stable-s2' into perf-s2-base00
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoieh committed Dec 6, 2024
2 parents 27b35ea + ca94ffd commit 7948afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/txpool/legacypool/legacypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,6 @@ func (pool *LegacyPool) demoteUnexecutables(demoteAddrs []common.Address) (demot
// Internal shuffle shouldn't touch the lookup set.
pool.enqueueTx(hash, tx, false, false)
}
demoted += len(olds)
dropPendingCache = append(dropPendingCache, olds...)
dropPendingCache = append(dropPendingCache, invalids...)
dropPendingCache = append(dropPendingCache, drops...)
Expand Down Expand Up @@ -2053,6 +2052,7 @@ func (pool *LegacyPool) demoteUnexecutables(demoteAddrs []common.Address) (demot
}
pool.pendingCache.del(dropPendingCache, pool.signer)
removed += len(dropPendingCache)
demoted += len(dropPendingCache)
}
t0 := time.Now()
pool.priced.Removed(removed)
Expand Down

0 comments on commit 7948afc

Please sign in to comment.