diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 1bfc6e60b2..15a264a0be 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -1639,7 +1639,7 @@ func (as *accountSet) flatten() []common.Address { // merge adds all addresses from the 'other' set into 'as'. func (as *accountSet) merge(other *accountSet) { - maps.Copy(as.accounts, other.accounts) + as.accounts = other.accounts as.cache = nil }