fix: filecoin client creation function

This commit is contained in:
bahadylbekov 2020-08-07 01:51:52 +03:00
parent 3c68e8fea3
commit dd2687aac6

View File

@ -32,7 +32,7 @@ func NewRequestBody(method string) *RequestBody {
} }
// NewClient returns a new client. // NewClient returns a new client.
func NewLotusClient(host string, token jwt.Token) Client { func NewLotusClient(host string, token jwt.Token) *LotusClient {
return &LotusClient{ return &LotusClient{
host: host, host: host,
jwt: token, jwt: token,