From d5a2bf1caa152b0c330e6f06f4603263cfd69923 Mon Sep 17 00:00:00 2001 From: jingyi2811 Date: Mon, 17 May 2021 13:48:24 +0800 Subject: [PATCH] Remove [] on payload. Add another param line --- packages/jellyfish-api-core/src/category/account.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/jellyfish-api-core/src/category/account.ts b/packages/jellyfish-api-core/src/category/account.ts index 285dc7da4f..39951377c3 100644 --- a/packages/jellyfish-api-core/src/category/account.ts +++ b/packages/jellyfish-api-core/src/category/account.ts @@ -225,7 +225,8 @@ export class Account { * Creates (and submits to local node and network) a transfer transaction from the wallet UTXOs to specfied account. * The second optional argument (may be empty array) is an array of specific UTXOs to spend. * - * @param {UtxosToAccountPayload} [payload] + * @param {UtxosToAccountPayload} payload + * @param {string} payload[address] * @param {UtxosToAccountUTXO[]} [utxos=[]] * @param {string} [utxos.txid] * @param {number} [utxos.vout]