From 04d9aeeab124d1f7c70302af391b47d4e7100d4c Mon Sep 17 00:00:00 2001 From: Vanshdeep Singh Date: Wed, 25 Jul 2018 16:11:52 +0200 Subject: [PATCH] Problem: Incorrent import for Transaction class Solution: Import Transaction form models.py module --- bigchaindb/web/views/transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigchaindb/web/views/transactions.py b/bigchaindb/web/views/transactions.py index 95a0378e..299ace5a 100644 --- a/bigchaindb/web/views/transactions.py +++ b/bigchaindb/web/views/transactions.py @@ -10,7 +10,7 @@ from flask_restful import Resource, reqparse from bigchaindb.common.exceptions import SchemaValidationError, ValidationError from bigchaindb.web.views.base import make_error from bigchaindb.web.views import parameters -from bigchaindb.common.transaction import Transaction +from bigchaindb.models import Transaction logger = logging.getLogger(__name__)