diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-08 20:50:11 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@gmail.com> | 2015-06-11 20:01:40 +0800 |
commit | d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335 (patch) | |
tree | 251442afd362566e0b7f9e0cfb66fdcda4324634 /rpc/api/mergedapi.go | |
parent | 4b9b633dfe8c36d3a8909024ff23a1cdedce44d8 (diff) | |
download | dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.gz dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.tar.zst dexon-d2a87f6f72b1582fd6e220e2a00d7c3f5a6df335.zip |
added net API
Diffstat (limited to 'rpc/api/mergedapi.go')
-rw-r--r-- | rpc/api/mergedapi.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpc/api/mergedapi.go b/rpc/api/mergedapi.go index 7784661d7..88c301aae 100644 --- a/rpc/api/mergedapi.go +++ b/rpc/api/mergedapi.go @@ -4,7 +4,7 @@ import "github.com/ethereum/go-ethereum/rpc/shared" // combines multiple API's type mergedApi struct { - apis []string + apis []string methods map[string]EthereumApi } @@ -48,7 +48,7 @@ func (self *mergedApi) Name() string { } func (self *mergedApi) handle(req *shared.Request) (interface{}, error) { - if req.Method == "support_apis" { // provided API's + if req.Method == "support_apis" { // provided API's return self.apis, nil } |