From cb5125ecfa71696bcc9f0f09f02bea3d8910277a Mon Sep 17 00:00:00 2001 From: Isaac van Bakel Date: Fri, 28 Jul 2017 20:35:06 +0100 Subject: [PATCH] Fixed error line missing from transaction.py The second instance of the recipients error message is missing a line, making the message meaningless. --- bigchaindb/common/transaction.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bigchaindb/common/transaction.py b/bigchaindb/common/transaction.py index c32d8c4d..2399185d 100644 --- a/bigchaindb/common/transaction.py +++ b/bigchaindb/common/transaction.py @@ -638,6 +638,7 @@ class Transaction(object): for recipient in recipients: if not isinstance(recipient, tuple) or len(recipient) != 2: raise ValueError(('Each `recipient` in the list must be a' + ' tuple of `([],' ' )`')) pub_keys, amount = recipient outputs.append(Output.generate(pub_keys, amount))