Skip to content
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.

Commit

Permalink
Update service/lotusclient/lotusclient.go
Browse files Browse the repository at this point in the history
  • Loading branch information
merlinran committed Oct 13, 2021
1 parent ecc0e93 commit 4a7c013
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service/lotusclient/lotusclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ type Client struct {
}

// New returns a new *LotusClient.
func New(maddr string, authToken string, marketMaddr string, marketAuthToken string, connRetries int, fakeMode bool) (*Client, error) {
func New(maddr string, authToken string, marketMaddr string, marketAuthToken string,
connRetries int, fakeMode bool) (*Client, error) {
fin := finalizer.NewFinalizer()
ctx, cancel := context.WithCancel(context.Background())
fin.Add(finalizer.NewContextCloser(cancel))
Expand Down

0 comments on commit 4a7c013

Please sign in to comment.