File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
sdk-core/src/bitgo/wallet Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2800,6 +2800,8 @@ describe('V2 Wallet:', function () {
28002800 data : 'SGVsbG8gV29ybGQ=' ,
28012801 } ,
28022802 ] ;
2803+ const comment = 'Test comment' ;
2804+ const sequenceId = '123' ;
28032805
28042806 const prebuildTxWithIntent = sandbox . stub ( TssUtils . prototype , 'prebuildTxWithIntent' ) ;
28052807 prebuildTxWithIntent . resolves ( txRequest ) ;
@@ -2808,13 +2810,17 @@ describe('V2 Wallet:', function () {
28082810 intentType : 'customTx' ,
28092811 solInstructions,
28102812 recipients,
2813+ comment,
2814+ sequenceId,
28112815 } ) ;
28122816
28132817 const txPrebuild = await tssSolWallet . prebuildTransaction ( {
28142818 reqId,
28152819 recipients,
28162820 type : 'customTx' ,
28172821 solInstructions,
2822+ comment,
2823+ sequenceId,
28182824 } ) ;
28192825
28202826 txPrebuild . should . deepEqual ( {
@@ -2826,6 +2832,8 @@ describe('V2 Wallet:', function () {
28262832 recipients,
28272833 type : 'customTx' ,
28282834 solInstructions,
2835+ comment,
2836+ sequenceId,
28292837 } ,
28302838 feeInfo : {
28312839 fee : 5000 ,
Original file line number Diff line number Diff line change @@ -3399,6 +3399,8 @@ export class Wallet implements IWallet {
33993399 {
34003400 reqId,
34013401 intentType : 'customTx' ,
3402+ sequenceId : params . sequenceId ,
3403+ comment : params . comment ,
34023404 solInstructions : params . solInstructions ,
34033405 recipients : params . recipients || [ ] ,
34043406 } ,
You can’t perform that action at this time.
0 commit comments