From f2922222bed0000b470e32233a101d62454d60bd Mon Sep 17 00:00:00 2001 From: Rodolphe Marques Date: Thu, 17 Nov 2016 12:45:04 +0100 Subject: [PATCH] Added some comments to make the code more readable --- bigchaindb/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bigchaindb/core.py b/bigchaindb/core.py index d2d98502..6e66a8eb 100644 --- a/bigchaindb/core.py +++ b/bigchaindb/core.py @@ -352,6 +352,8 @@ class Bigchain(object): transactions = [] for txid in txids: tx = self.get_transaction(txid) + # if a valid or undecided transaction exists append it to the list + # of transactions if tx: transactions.append(tx) return transactions