From d28cd0f04086ce618f16b5019d2fd3992469755a Mon Sep 17 00:00:00 2001
From: Taylor Gerring <taylor.gerring@gmail.com>
Date: Thu, 19 Mar 2015 20:04:40 -0400
Subject: [PATCH] inline GetCompilers

---
 rpc/api.go | 9 ++-------
 1 file 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":
-- 
GitLab