added console command
This commit is contained in:
committed by
Bas van Kervel
parent
2a0d888326
commit
a1a475fb92
@ -93,6 +93,10 @@ func (self *EthApi) Execute(req *shared.Request) (interface{}, error) {
|
||||
return nil, shared.NewNotImplementedError(req.Method)
|
||||
}
|
||||
|
||||
func (self *EthApi) Name() string {
|
||||
return EthApiName
|
||||
}
|
||||
|
||||
func (self *EthApi) Accounts(req *shared.Request) (interface{}, error) {
|
||||
return self.xeth.Accounts(), nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user