diff --git a/internal/configs/node/config.go b/internal/configs/node/config.go index cf487cec4..db38b505d 100644 --- a/internal/configs/node/config.go +++ b/internal/configs/node/config.go @@ -244,6 +244,7 @@ func GetPublicRPC() bool { return publicRPC } +// ChainConfig returns the chain configuration for the network type. func (t NetworkType) ChainConfig() params.ChainConfig { switch t { case Mainnet: