diff options
author | zelig <viktor.tron@gmail.com> | 2015-05-20 12:29:28 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2015-05-20 12:29:28 +0800 |
commit | e1d1417729b82f00bcb62dffa36358cb74ab790f (patch) | |
tree | c098636287b99ea7f5456c0640dd1310940c372f /rpc | |
parent | 00f59f5014360cda47e50d9791caf7dd88022c20 (diff) | |
download | dexon-e1d1417729b82f00bcb62dffa36358cb74ab790f.tar.gz dexon-e1d1417729b82f00bcb62dffa36358cb74ab790f.tar.zst dexon-e1d1417729b82f00bcb62dffa36358cb74ab790f.zip |
rpc: NewNotAvailableError instead of NewNotImplementedError if no solc
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/api.go | 2 |
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) |