Skip to content

Commit

Permalink
fix the comment: it is a legacy comment from 'lazy transactions optim…
Browse files Browse the repository at this point in the history
…ization', which is reverted now. So we don't need it any more
  • Loading branch information
andyzhang2023 committed Jan 6, 2025
1 parent 1146176 commit c8f269d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/txpool/legacypool/legacypool.go
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,6 @@ func (pool *LegacyPool) ContentFrom(addr common.Address) ([]*types.Transaction,
// The transactions can also be pre-filtered by the dynamic fee components to
// reduce allocations and load on downstream subsystems.
func (pool *LegacyPool) Pending(filter txpool.PendingFilter) map[common.Address][]*txpool.LazyTransaction {
// TODO need to confirm
defer func(t0 time.Time) {
getPendingDurationTimer.Update(time.Since(t0))
}(time.Now())
Expand Down

0 comments on commit c8f269d

Please sign in to comment.