From 689cb16eb8c31eb600bcc38225498b9ef083a8b0 Mon Sep 17 00:00:00 2001 From: rating89us <45968869+rating89us@users.noreply.github.com> Date: Thu, 4 Mar 2021 23:32:40 +0100 Subject: [PATCH] appdx: fix commentaries in code --- appdx-bitcore.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appdx-bitcore.asciidoc b/appdx-bitcore.asciidoc index 9da357b7..4eee0688 100644 --- a/appdx-bitcore.asciidoc +++ b/appdx-bitcore.asciidoc @@ -55,11 +55,11 @@ Creating and signing a transaction from an UTXO: ---- > utxo = { - txId: transaction id containing an unspent output, - outputIndex: output index e.g. 0, + txId: txId, // transaction id containing an unspent output + outputIndex: outputIndex, // output index (e.g. 0) address: addressOfUtxo, script: bitcore.Script.buildPublicKeyHashOut(addressOfUtxo).toString(), - satoshis: amount sent to the address + satoshis: satoshis // amount sent to the address } > fee = 3000 //set appropriately for conditions on the network > tx = new bitcore.Transaction()