aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/backend.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-03-16 09:54:52 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-03-16 09:54:52 +0800
commit61ede86737d57f62cb09de013191fc430d1dd3a2 (patch)
tree2491c7a2cdfd6a1d72f4e2641b3ffcb452f8c50d /internal/ethapi/backend.go
parentdc4c59d42b793414833c10b91c2902e971de8477 (diff)
downloaddexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar.gz
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar.bz2
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar.lz
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar.xz
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.tar.zst
dexon-61ede86737d57f62cb09de013191fc430d1dd3a2.zip
internal/ethapi: drop eth_compile (#3740)
Diffstat (limited to 'internal/ethapi/backend.go')
-rw-r--r--internal/ethapi/backend.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/ethapi/backend.go b/internal/ethapi/backend.go
index 214214f51..e10fb14ff 100644
--- a/internal/ethapi/backend.go
+++ b/internal/ethapi/backend.go
@@ -73,8 +73,7 @@ type State interface {
}
func GetAPIs(apiBackend Backend, solcPath string) []rpc.API {
- compiler := makeCompilerAPIs(solcPath)
- all := []rpc.API{
+ return []rpc.API{
{
Namespace: "eth",
Version: "1.0",
@@ -116,5 +115,4 @@ func GetAPIs(apiBackend Backend, solcPath string) []rpc.API {
Public: false,
},
}
- return append(compiler, all...)
}