aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2015-05-20 12:29:28 +0800
committerzelig <viktor.tron@gmail.com>2015-05-20 12:29:28 +0800
commite1d1417729b82f00bcb62dffa36358cb74ab790f (patch)
treec098636287b99ea7f5456c0640dd1310940c372f
parent00f59f5014360cda47e50d9791caf7dd88022c20 (diff)
downloadgo-tangerine-e1d1417729b82f00bcb62dffa36358cb74ab790f.tar.gz
go-tangerine-e1d1417729b82f00bcb62dffa36358cb74ab790f.tar.zst
go-tangerine-e1d1417729b82f00bcb62dffa36358cb74ab790f.zip
rpc: NewNotAvailableError instead of NewNotImplementedError if no solc
-rw-r--r--rpc/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 2536ffd74..b6f6ac3f9 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -347,7 +347,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
solc, _ := api.xeth().Solc()
if solc == nil {
- return NewNotImplementedError(req.Method)
+ return NewNotAvailableError(req.Method, "solc (solidity compiler) not found")
}
args := new(SourceArgs)