From ac2f64d2e64e71a81e5dee85f1e0457420cdcab7 Mon Sep 17 00:00:00 2001 From: Tomasz Slabon Date: Tue, 3 Oct 2023 15:18:37 +0200 Subject: [PATCH] Updated docstring --- typescript/src/deposit.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. */