mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-14 12:06:40 +00:00
inline GetCompilers
This commit is contained in:
parent
152b37ee11
commit
d28cd0f040
1 changed files with 2 additions and 7 deletions
|
|
@ -303,12 +303,6 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageAtArgs, reply *interface{}) e
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *EthereumApi) GetCompilers(reply *interface{}) error {
|
|
||||||
c := []string{""}
|
|
||||||
*reply = c
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|
||||||
func (p *EthereumApi) DbPut(args *DbArgs, reply *interface{}) error {
|
func (p *EthereumApi) DbPut(args *DbArgs, reply *interface{}) error {
|
||||||
if err := args.requirements(); err != nil {
|
if err := args.requirements(); err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
@ -670,7 +664,8 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
|
||||||
}
|
}
|
||||||
*reply = uncle
|
*reply = uncle
|
||||||
case "eth_getCompilers":
|
case "eth_getCompilers":
|
||||||
return p.GetCompilers(reply)
|
c := []string{""}
|
||||||
|
*reply = c
|
||||||
case "eth_compileSolidity", "eth_compileLLL", "eth_compileSerpent":
|
case "eth_compileSolidity", "eth_compileLLL", "eth_compileSerpent":
|
||||||
return NewNotImplementedError(req.Method)
|
return NewNotImplementedError(req.Method)
|
||||||
case "eth_newFilter":
|
case "eth_newFilter":
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue