aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-02-09 20:10:40 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-02-09 20:10:40 +0800
commitdf75dbfd6804923b1c8a8388b67523072d59f155 (patch)
tree5191e9a8004499727a42336be1f092bc04943ae8 /rpc/http.go
parent900e124beea551ded290f61e7bf85ff6b2e4a29e (diff)
downloadgo-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.gz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.bz2
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.lz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.xz
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.tar.zst
go-tangerine-df75dbfd6804923b1c8a8388b67523072d59f155.zip
cmd, node, rpc: readd inproc RPC client, expose via node
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index e58a88c08..d9053b003 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -259,7 +259,7 @@ type httpClient struct {
// NewHTTPClient create a new RPC clients that connection to a geth RPC server
// over HTTP.
-func NewHTTPClient(endpoint string) (*httpClient, error) {
+func NewHTTPClient(endpoint string) (Client, error) {
url, err := url.Parse(endpoint)
if err != nil {
return nil, err