diff options
author | bas-vk <bas-vk@users.noreply.github.com> | 2017-04-13 05:04:14 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-04-13 05:04:14 +0800 |
commit | 5e29f4be935ff227bbf07a0c6e80e8809f5e0202 (patch) | |
tree | 18e1ef8db3c66c3bf777dc90326aa971f1343d34 /eth/backend.go | |
parent | 43671067fb453a1ed798bcc3d8016710460f2bdf (diff) | |
download | go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.gz go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.bz2 go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.lz go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.xz go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.zst go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.zip |
cmd/utils, node: remove unused solc references and improve RPC config (#14324)
Currently http cors and websocket origins are a comma separated string in the
config object. These are replaced with string arrays that are more expressive in
case of a config file.
Diffstat (limited to 'eth/backend.go')
-rw-r--r-- | eth/backend.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/eth/backend.go b/eth/backend.go index 7ee591f9e..03c2e38e5 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -79,7 +79,6 @@ type Ethereum struct { Mining bool MinerThreads int etherbase common.Address - solcPath string netVersionId int netRPCService *ethapi.PublicNetAPI @@ -122,7 +121,6 @@ func New(ctx *node.ServiceContext, config *Config) (*Ethereum, error) { netVersionId: config.NetworkId, etherbase: config.Etherbase, MinerThreads: config.MinerThreads, - solcPath: config.SolcPath, } if err := addMipmapBloomBins(chainDb); err != nil { @@ -236,7 +234,7 @@ func CreateConsensusEngine(ctx *node.ServiceContext, config *Config, chainConfig // APIs returns the collection of RPC services the ethereum package offers. // NOTE, some of these services probably need to be moved to somewhere else. func (s *Ethereum) APIs() []rpc.API { - apis := ethapi.GetAPIs(s.ApiBackend, s.solcPath) + apis := ethapi.GetAPIs(s.ApiBackend) // Append any APIs exposed explicitly by the consensus engine apis = append(apis, s.engine.APIs(s.BlockChain())...) |