rpc: NewNotAvailableError instead of NewNotImplementedError if no solc

pull/1048/head
zelig 10 years ago
parent 00f59f5014
commit e1d1417729
  1. 2
      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)

Loading…
Cancel
Save