Skip to content

Commit

Permalink
chore: ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vrockz747 committed Jan 2, 2025
1 parent 709d7c0 commit 19deedc
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/app-solana/src/operations/signTxn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ export const signTxn = async (
walletId: params.walletId,
derivationPath: params.derivationPath,
transactionSize: txnBytes.length,
tokenData: params.tokenData,
tokenData: params.tokenData ?? {
mintAddress: new Uint8Array(),
recipientAddress: new Uint8Array(),
},
},
});

Expand Down
4 changes: 4 additions & 0 deletions packages/app-solana/tests/03.signTxn/__fixtures__/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const commonParams = {
]),
derivationPath: [0x80000000 + 44, 0x80000000 + 501, 0x80000000],
transactionSize: 150,
tokenData: {
mintAddress: new Uint8Array(),
recipientAddress: new Uint8Array(),
},
},
},
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const commonParams = {
]),
derivationPath: [0x80000000 + 44, 0x80000000 + 501, 0x80000000],
transactionSize: 150,
tokenData: {
mintAddress: new Uint8Array(),
recipientAddress: new Uint8Array(),
},
},
},
}),
Expand Down
4 changes: 4 additions & 0 deletions packages/app-solana/tests/03.signTxn/__fixtures__/valid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ const sendWithSerialize: ISignTxnTestCase = {
]),
derivationPath: [0x80000000 + 44, 0x80000000 + 501, 0x80000000],
transactionSize: 150,
tokenData: {
mintAddress: new Uint8Array(),
recipientAddress: new Uint8Array(),
},
},
},
}),
Expand Down

0 comments on commit 19deedc

Please sign in to comment.