Skip to content

Commit 3990c2b

Browse files
committed
fix: fix go staking final options to include signature
Fix go staking final options to include signature CE-6741 TICKET: CE-6741
1 parent 5b82c98 commit 3990c2b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

modules/bitgo/test/v2/unit/staking/goStakingWalletCommon.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ describe('Go Staking Wallet Common', function () {
104104
frontTransferSendRequest: {
105105
halfSigned: {
106106
payload: preview.payload,
107+
signature:
108+
'1f4f7e789ef485363b33dca7273717a4a4413330f2badbcaf302758bc404ff8e930943db81aa2c77007738afa23166934c2a3136bae281bea037095be7183c0602',
107109
},
108110
},
109111
type: 'STAKE',

modules/sdk-core/src/bitgo/staking/goStakingWallet.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ export class GoStakingWallet implements IGoStakingWallet {
5252
amount: options.amount,
5353
clientId: options.clientId,
5454
frontTransferSendRequest: {
55-
halfSigned: {
56-
payload: halfSignedTransaction.halfSigned.payload,
57-
},
55+
halfSigned: halfSignedTransaction.halfSigned,
5856
},
5957
};
6058
return (await this.finalizeStake(finalOptions)) as GoStakingRequest;

0 commit comments

Comments
 (0)