mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 05:41:35 +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'. |
||
|---|---|---|
| .. | ||
| blobpool | ||
| legacypool | ||
| locals | ||
| errors.go | ||
| reserver.go | ||
| subpool.go | ||
| txpool.go | ||
| validation.go | ||
| validation_test.go | ||