diff --git a/typescript/src/deposit.ts b/typescript/src/deposit.ts index 17d9ad369..982f99ed6 100644 --- a/typescript/src/deposit.ts +++ b/typescript/src/deposit.ts @@ -187,9 +187,6 @@ export async function submitDepositTransaction( /** * Assembles a Bitcoin P2(W)SH deposit transaction. - * @dev UTXOs are selected for transaction funding based on their types. UTXOs - * with unsupported types are skipped. The selection process stops once - * the sum of the chosen UTXOs meets the required funding amount. * @param bitcoinNetwork - The target Bitcoin network (mainnet or testnet). * @param deposit - Details of the deposit. * @param depositorPrivateKey - Bitcoin private key of the depositor. @@ -202,6 +199,9 @@ export async function submitDepositTransaction( * - the deposit transaction hash, * - the deposit UTXO produced by this transaction. * - the deposit transaction in the raw format +* @dev UTXOs are selected for transaction funding based on their types. UTXOs + * with unsupported types are skipped. The selection process stops once + * the sum of the chosen UTXOs meets the required funding amount. * @throws {Error} When the sum of the selected UTXOs is insufficient to cover * the deposit amount and transaction fee. */