aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 08:04:40 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-20 08:04:40 +0800
commitd28cd0f04086ce618f16b5019d2fd3992469755a (patch)
tree773c5c6936fb456247947c403faebaf91041d12e /rpc
parent152b37ee116db8faa4d6dbc254336ba1fa7e94ab (diff)
downloaddexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.gz
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.bz2
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.lz
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.xz
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.zst
dexon-d28cd0f04086ce618f16b5019d2fd3992469755a.zip
inline GetCompilers
Diffstat (limited to 'rpc')
-rw-r--r--rpc/api.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/rpc/api.go b/rpc/api.go
index f8ba82276..432959bc2 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -303,12 +303,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
return nil
}
-func (p *EthereumApi) GetCompilers(reply *interface{}) error {
- c := []string{""}
- *reply = c
- return nil
-}
-
func (p *EthereumApi) DbPut(args *DbArgs, reply *interface{}) error {
if err := args.requirements(); err != nil {
return err
@@ -670,7 +664,8 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
}
*reply = uncle
case "eth_getCompilers":
- return p.GetCompilers(reply)
+ c := []string{""}
+ *reply = c
case "eth_compileSolidity", "eth_compileLLL", "eth_compileSerpent":
return NewNotImplementedError(req.Method)
case "eth_newFilter":