From dd2687aac6aef399b8655078d6e568e8f9a31ce7 Mon Sep 17 00:00:00 2001 From: bahadylbekov <33404905+bahadylbekov@users.noreply.github.com> Date: Fri, 7 Aug 2020 01:51:52 +0300 Subject: [PATCH] fix: filecoin client creation function --- rpc/filecoin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/filecoin.go b/rpc/filecoin.go index c09fafd..729e00a 100644 --- a/rpc/filecoin.go +++ b/rpc/filecoin.go @@ -32,7 +32,7 @@ func NewRequestBody(method string) *RequestBody { } // NewClient returns a new client. -func NewLotusClient(host string, token jwt.Token) Client { +func NewLotusClient(host string, token jwt.Token) *LotusClient { return &LotusClient{ host: host, jwt: token,