Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
v1.0.8 (#48)
Browse files Browse the repository at this point in the history
v1.0.8

Adds bug fix to MPCWalletClient, MPCKeyClient, and MPCTransactionClient
to resolve nil pointer dereference error on `GetOperation`.
  • Loading branch information
John-peterson-coinbase authored Sep 25, 2023
1 parent 121df5d commit 8388a0a
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion clients/v1/mpc_keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (m *mpcKeyServiceClient) GetOperation(
req *longrunningpb.GetOperationRequest,
opts ...gax.CallOption,
) (*longrunningpb.Operation, error) {
return m.GetOperation(ctx, req, opts...)
return m.client.LROClient.GetOperation(ctx, req, opts...)
}

// RegisterDevice registers a new Device. A Device must be registered before
Expand Down
2 changes: 1 addition & 1 deletion clients/v1/mpc_transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (m *mpcTransactionServiceClient) GetOperation(
req *longrunningpb.GetOperationRequest,
opts ...gax.CallOption,
) (*longrunningpb.Operation, error) {
return m.GetOperation(ctx, req, opts...)
return m.client.LROClient.GetOperation(ctx, req, opts...)
}

// WrappedCreateMPCTransactionOperation wraps the long-running operation to handle
Expand Down
2 changes: 1 addition & 1 deletion clients/v1/mpc_wallets.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (m *mpcWalletServiceClient) GetOperation(
req *longrunningpb.GetOperationRequest,
opts ...gax.CallOption,
) (*longrunningpb.Operation, error) {
return m.GetOperation(ctx, req, opts...)
return m.client.LROClient.GetOperation(ctx, req, opts...)
}

// WrappedCreateMPCWalletOperation wraps the long-running operation to handle
Expand Down
2 changes: 1 addition & 1 deletion gen/go/coinbase/cloud/clients/v1/mpc_key_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/coinbase/cloud/clients/v1/mpc_transaction_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion gen/go/coinbase/cloud/clients/v1/mpc_wallet_client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8388a0a

Please sign in to comment.