Fixed two flake8 errors

This commit is contained in:
troymc 2016-11-14 18:46:03 +01:00
parent 54f0d85cda
commit d577bf8a51
2 changed files with 2 additions and 0 deletions

View File

@ -14,5 +14,6 @@ def generate_key_pair():
private_key, public_key = crypto.ed25519_generate_key_pair() private_key, public_key = crypto.ed25519_generate_key_pair()
return private_key.decode(), public_key.decode() return private_key.decode(), public_key.decode()
SigningKey = crypto.Ed25519SigningKey SigningKey = crypto.Ed25519SigningKey
VerifyingKey = crypto.Ed25519VerifyingKey VerifyingKey = crypto.Ed25519VerifyingKey

View File

@ -111,6 +111,7 @@ class TransactionListApi(Resource):
return tx return tx
transaction_api.add_resource(TransactionApi, transaction_api.add_resource(TransactionApi,
'/transactions/<string:tx_id>', '/transactions/<string:tx_id>',
strict_slashes=False) strict_slashes=False)