diff --git a/bigchaindb/common/crypto.py b/bigchaindb/common/crypto.py index e440f81d..82b15136 100644 --- a/bigchaindb/common/crypto.py +++ b/bigchaindb/common/crypto.py @@ -14,5 +14,6 @@ def generate_key_pair(): private_key, public_key = crypto.ed25519_generate_key_pair() return private_key.decode(), public_key.decode() + SigningKey = crypto.Ed25519SigningKey VerifyingKey = crypto.Ed25519VerifyingKey diff --git a/bigchaindb/web/views/transactions.py b/bigchaindb/web/views/transactions.py index 8780fda8..c529b6b3 100644 --- a/bigchaindb/web/views/transactions.py +++ b/bigchaindb/web/views/transactions.py @@ -111,6 +111,7 @@ class TransactionListApi(Resource): return tx + transaction_api.add_resource(TransactionApi, '/transactions/', strict_slashes=False)