mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
Restore pointer-based cache sentinel in accountSet to preserve cached-empty state. With slices.Collect(maps.Keys(emptyMap)), the returned slice can be nil. Using []common.Address directly makes as.cache == nil true after flatten() on an empty set, causing repeated recomputation. Switching cache back to *[]common.Address keeps 'cache initialized' distinct from 'cached value is nil/empty'. |
||
|---|---|---|
| .. | ||
| legacypool.go | ||
| legacypool2_test.go | ||
| legacypool_test.go | ||
| list.go | ||
| list_test.go | ||
| noncer.go | ||
| queue.go | ||