rpc: NewNotAvailableError instead of NewNotImplementedError if no solc

This commit is contained in:
zelig 2015-05-20 05:29:28 +01:00
parent 00f59f5014
commit e1d1417729

@ -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)