Skip to content

Commit f902ffc

Browse files
committed
fix comments
1 parent c8da372 commit f902ffc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

qa/rpc-tests/confidential_transactions.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ def run_test(self):
354354
self.nodes[2].sendtoaddress(blinded_multisig_addr, 1, "", "", False, issued3['asset'])
355355
self.sync_all()
356356
# We will use this multisig UTXO in our partially-blinded transaction,
357-
# and will also check that multisig UTXO can be successfully spent by
358-
# signing the transaction by node1 and node0 in succession.
357+
# and will also check that multisig UTXO can be successfully spent
358+
# after the transaction is signed by node1 and node0 in succession.
359359
unspent_asset = self.nodes[0].listunspent(0, 0, [unconfidential_addr], True, issued3['asset'])
360360
assert_equal(len(unspent_asset), 1)
361361
assert(issued3['asset'] not in self.nodes[2].getbalance())
@@ -367,7 +367,7 @@ def run_test(self):
367367
unspent = self.nodes[0].listunspent(0, 0, [addr])
368368
assert_equal(len(unspent), 1)
369369

370-
# Create new UTXO on node0 to be used in our partially-blinded transaction
370+
# Create new UTXO on node1 to be used in our partially-blinded transaction
371371
blinded_addr2 = self.nodes[1].getnewaddress()
372372
addr2 = self.nodes[1].validateaddress(blinded_addr2)["unconfidential"]
373373
self.nodes[1].sendtoaddress(blinded_addr2, 0.11)
@@ -419,7 +419,7 @@ def run_test(self):
419419
ubtx = CTransaction()
420420
ubtx.deserialize(io.BytesIO(hex_str_to_bytes(rawtx2)))
421421

422-
# We will inputs and outputs of unblinded transaction
422+
# We will add inputs and outputs of unblinded transaction
423423
# on top of inputs and outputs of the blinded, but incomplete transaction.
424424
# We also append empty witness instances to make witness arrays match
425425
# vin/vout arrays
@@ -431,7 +431,7 @@ def run_test(self):
431431
btx.wit.vtxinwit.append(CTxInWitness())
432432
btx.vout.append(ubtx.vout[1])
433433
btx.wit.vtxoutwit.append(CTxOutWitness())
434-
# Add explictit fee output
434+
# Add explicit fee output
435435
btx.vout.append(CTxOut(nValue=CTxOutValue(10000000),
436436
nAsset=CTxOutAsset(BITCOIN_ASSET_OUT)))
437437
btx.wit.vtxoutwit.append(CTxOutWitness())

0 commit comments

Comments
 (0)