mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Added some comments to make the code more readable
This commit is contained in:
parent
98084f6f4a
commit
f2922222be
@ -352,6 +352,8 @@ class Bigchain(object):
|
|||||||
transactions = []
|
transactions = []
|
||||||
for txid in txids:
|
for txid in txids:
|
||||||
tx = self.get_transaction(txid)
|
tx = self.get_transaction(txid)
|
||||||
|
# if a valid or undecided transaction exists append it to the list
|
||||||
|
# of transactions
|
||||||
if tx:
|
if tx:
|
||||||
transactions.append(tx)
|
transactions.append(tx)
|
||||||
return transactions
|
return transactions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user