forked from cerc-io/plugeth
rpc: NewNotAvailableError instead of NewNotImplementedError if no solc
This commit is contained in:
parent
00f59f5014
commit
e1d1417729
@ -347,7 +347,7 @@ func (api *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) err
|
|||||||
|
|
||||||
solc, _ := api.xeth().Solc()
|
solc, _ := api.xeth().Solc()
|
||||||
if solc == nil {
|
if solc == nil {
|
||||||
return NewNotImplementedError(req.Method)
|
return NewNotAvailableError(req.Method, "solc (solidity compiler) not found")
|
||||||
}
|
}
|
||||||
|
|
||||||
args := new(SourceArgs)
|
args := new(SourceArgs)
|
||||||
|
Loading…
Reference in New Issue
Block a user