Skip to content

Commit 43bbcd0

Browse files
paveljanikMarcoFalke
authored andcommitted
[qa] Fix typos in doc and comments
1 parent fa17f93 commit 43bbcd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

qa/rpc-tests/smartfees.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
def small_txpuzzle_randfee(from_node, conflist, unconflist, amount, min_fee, fee_increment):
2424
'''
2525
Create and send a transaction with a random fee.
26-
The transaction pays to a trival P2SH script, and assumes that its inputs
26+
The transaction pays to a trivial P2SH script, and assumes that its inputs
2727
are of the same form.
2828
The function takes a list of confirmed outputs and unconfirmed outputs
2929
and attempts to use the confirmed list first for its inputs.
@@ -53,7 +53,7 @@ def small_txpuzzle_randfee(from_node, conflist, unconflist, amount, min_fee, fee
5353
outputs = OrderedDict([(P2SH_1, total_in - amount - fee),
5454
(P2SH_2, amount)])
5555
rawtx = from_node.createrawtransaction(inputs, outputs)
56-
# Createrawtransaction constructions a transaction that is ready to be signed
56+
# createrawtransaction constructs a transaction that is ready to be signed.
5757
# These transactions don't need to be signed, but we still have to insert the ScriptSig
5858
# that will satisfy the ScriptPubKey.
5959
completetx = rawtx[0:10]
@@ -223,7 +223,7 @@ def transact_and_mine(self, numblocks, mining_node):
223223
sync_mempools(self.nodes[0:3],.1)
224224
mined = mining_node.getblock(mining_node.generate(1)[0],True)["tx"]
225225
sync_blocks(self.nodes[0:3],.1)
226-
#update which txouts are confirmed
226+
# update which txouts are confirmed
227227
newmem = []
228228
for utx in self.memutxo:
229229
if utx["txid"] in mined:

0 commit comments

Comments
 (0)