From c9daaf5ec046c039819394949cf852a7817e3ed1 Mon Sep 17 00:00:00 2001 From: codegeschrei Date: Tue, 28 Aug 2018 15:17:23 +0200 Subject: [PATCH] Problem: We use an old cryptoconditions version Solution: upgrade to the latest version of the library --- bigchaindb/common/transaction.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bigchaindb/common/transaction.py b/bigchaindb/common/transaction.py index d5b3eef8..a2e561bb 100644 --- a/bigchaindb/common/transaction.py +++ b/bigchaindb/common/transaction.py @@ -94,7 +94,7 @@ class Input(object): """ try: fulfillment = self.fulfillment.serialize_uri() - except (TypeError, AttributeError, ASN1EncodeError): + except (TypeError, AttributeError, ASN1EncodeError, ASN1DecodeError): fulfillment = _fulfillment_to_details(self.fulfillment) try: diff --git a/setup.py b/setup.py index dcecca51..47d6f409 100644 --- a/setup.py +++ b/setup.py @@ -79,7 +79,7 @@ install_requires = [ # TODO Consider not installing the db drivers, or putting them in extras. 'pymongo~=3.6', 'pysha3~=1.0.2', - 'cryptoconditions~=0.6.0.dev', + 'cryptoconditions~=0.7.0', 'python-rapidjson~=0.6.0', 'logstats~=0.2.1', 'flask>=0.10.1',