ethereum / go-ethereum

Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
47.75k stars 20.22k forks source link

internal/ethapi: remove double map-clone #30788

Closed hyunsooda closed 1 week ago

hyunsooda commented 1 week ago

ActivePrecompiledContracts() clones the precompiled contract map, thus its callsite does not need to clone it

Joj501 commented 1 week ago

Connect with metrix