aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth.go
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-06-08 18:43:58 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:39 +0800
commita1a475fb9296e214292840d89811123292c7953c (patch)
treebe92dc0faa0f62276fbb6b1fef529cec8280a12c /rpc/api/eth.go
parent2a0d888326036be9cabe6680617ce2d1a27761d3 (diff)
downloadgo-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar.gz
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar.bz2
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar.lz
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar.xz
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.tar.zst
go-tangerine-a1a475fb9296e214292840d89811123292c7953c.zip
added console command
Diffstat (limited to 'rpc/api/eth.go')
-rw-r--r--rpc/api/eth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rpc/api/eth.go b/rpc/api/eth.go
index fa14aa41e..0a8cecdbc 100644
--- a/rpc/api/eth.go
+++ b/rpc/api/eth.go
@@ -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
}