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

Commit

Permalink
lotusclient: pass common struct to wire APIs
Browse files Browse the repository at this point in the history
Signed-off-by: Ignacio Hagopian <[email protected]>
  • Loading branch information
jsign authored and merlinran committed Jul 18, 2021
1 parent ddfe0ac commit 09e25b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/lotusclient/lotusclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ func newBuilder(maddrs string, authToken string, connRetries int) (clientBuilder
}
closer, err = jsonrpc.NewMergeClient(context.Background(), "ws://"+addr+"/rpc/v0", "Filecoin",
[]interface{}{
&api.CommonStruct.Internal,
&api.Internal,
}, headers)
if err == nil {
Expand Down

0 comments on commit 09e25b0

Please sign in to comment.