From b272fb342a1a8c129a01fcf08524b3aa4e918dd4 Mon Sep 17 00:00:00 2001 From: Amartya Gaur <49491061+amartya-dev@users.noreply.github.com> Date: Wed, 12 Aug 2020 18:02:33 +0530 Subject: [PATCH] owners_before error message correction (#2698) * owners_before error message correction Signed-off-by: Amartya Gaur amarkaushik1999@gmail.com * Changed some formatting Signed-off-by: Amartya Gaur amarkaushik1999@gmail.com * Changes essential to pass tests Signed-off-by: Amartya Gaur amarkaushik1999@gmail.com * Resolve conflicts with master Signed-off-by: Amartya Gaur amarkaushik1999@gmail.com --- bigchaindb/common/transaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/common/transaction.py b/bigchaindb/common/transaction.py index 69960ff7..e70fbe4a 100644 --- a/bigchaindb/common/transaction.py +++ b/bigchaindb/common/transaction.py @@ -78,7 +78,7 @@ class Input(object): if fulfills is not None and not isinstance(fulfills, TransactionLink): raise TypeError('`fulfills` must be a TransactionLink instance') if not isinstance(owners_before, list): - raise TypeError('`owners_after` must be a list instance') + raise TypeError('`owners_before` must be a list instance') self.fulfillment = fulfillment self.fulfills = fulfills