mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-16 13:06:40 +00:00
rpc: NewNotAvailableError instead of NewNotImplementedError if no solc
This commit is contained in:
parent
00f59f5014
commit
e1d1417729
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue