fix: filecoin client creation function
This commit is contained in:
parent
3c68e8fea3
commit
dd2687aac6
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user