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 /internal | |
parent | 43671067fb453a1ed798bcc3d8016710460f2bdf (diff) | |
download | go-tangerine-5e29f4be935ff227bbf07a0c6e80e8809f5e0202.tar.gz 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 'internal')
-rw-r--r-- | internal/ethapi/backend.go | 2 | ||||
-rw-r--r-- | internal/web3ext/web3ext.go | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go index 50cd3801b..42bf26613 100644 --- a/internal/ethapi/backend.go +++ b/internal/ethapi/backend.go @@ -72,7 +72,7 @@ type State interface { GetNonce(ctx context.Context, addr common.Address) (uint64, error) } -func GetAPIs(apiBackend Backend, solcPath string) []rpc.API { +func GetAPIs(apiBackend Backend) []rpc.API { return []rpc.API{ { Namespace: "eth", diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index ac79398b9..72c2bd996 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -144,11 +144,6 @@ web3._extend({ params: 2 }), new web3._extend.Method({ - name: 'setSolc', - call: 'admin_setSolc', - params: 1 - }), - new web3._extend.Method({ name: 'startRPC', call: 'admin_startRPC', params: 4, |