Skip to content

Commit d5d1ec3

Browse files
authored
Update legacypool.go
1 parent 847532f commit d5d1ec3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/txpool/legacypool/legacypool.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,6 +1827,7 @@ func (t *lookup) Remove(hash common.Hash) {
18271827
delete(t.txs, hash)
18281828
}
18291829

1830+
// Clear resets the lookup structure, removing all stored entries.
18301831
func (t *lookup) Clear() {
18311832
t.lock.Lock()
18321833
defer t.lock.Unlock()

0 commit comments

Comments
 (0)