diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-20 08:04:40 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-20 08:04:40 +0800 |
commit | d28cd0f04086ce618f16b5019d2fd3992469755a (patch) | |
tree | 773c5c6936fb456247947c403faebaf91041d12e | |
parent | 152b37ee116db8faa4d6dbc254336ba1fa7e94ab (diff) | |
download | go-tangerine-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.gz go-tangerine-d28cd0f04086ce618f16b5019d2fd3992469755a.tar.zst go-tangerine-d28cd0f04086ce618f16b5019d2fd3992469755a.zip |
inline GetCompilers
-rw-r--r-- | rpc/api.go | 9 |
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": |