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

Commit 8388a0a

Browse files
v1.0.8 (#48)
v1.0.8 Adds bug fix to MPCWalletClient, MPCKeyClient, and MPCTransactionClient to resolve nil pointer dereference error on `GetOperation`.
1 parent 121df5d commit 8388a0a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

clients/v1/mpc_keys.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (m *mpcKeyServiceClient) GetOperation(
7979
req *longrunningpb.GetOperationRequest,
8080
opts ...gax.CallOption,
8181
) (*longrunningpb.Operation, error) {
82-
return m.GetOperation(ctx, req, opts...)
82+
return m.client.LROClient.GetOperation(ctx, req, opts...)
8383
}
8484

8585
// RegisterDevice registers a new Device. A Device must be registered before

clients/v1/mpc_transactions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (m *mpcTransactionServiceClient) GetOperation(
7979
req *longrunningpb.GetOperationRequest,
8080
opts ...gax.CallOption,
8181
) (*longrunningpb.Operation, error) {
82-
return m.GetOperation(ctx, req, opts...)
82+
return m.client.LROClient.GetOperation(ctx, req, opts...)
8383
}
8484

8585
// WrappedCreateMPCTransactionOperation wraps the long-running operation to handle

clients/v1/mpc_wallets.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func (m *mpcWalletServiceClient) GetOperation(
7979
req *longrunningpb.GetOperationRequest,
8080
opts ...gax.CallOption,
8181
) (*longrunningpb.Operation, error) {
82-
return m.GetOperation(ctx, req, opts...)
82+
return m.client.LROClient.GetOperation(ctx, req, opts...)
8383
}
8484

8585
// WrappedCreateMPCWalletOperation wraps the long-running operation to handle

gen/go/coinbase/cloud/clients/v1/mpc_key_client.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/go/coinbase/cloud/clients/v1/mpc_transaction_client.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/go/coinbase/cloud/clients/v1/mpc_wallet_client.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)