From b7d235379a69126accfc37ff81d9f70c656473ab Mon Sep 17 00:00:00 2001 From: codegeschrei Date: Thu, 11 Jan 2018 13:44:54 +0100 Subject: [PATCH] fix tests --- bigchaindb/web/views/transactions.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bigchaindb/web/views/transactions.py b/bigchaindb/web/views/transactions.py index 37912140..e49cd189 100644 --- a/bigchaindb/web/views/transactions.py +++ b/bigchaindb/web/views/transactions.py @@ -56,8 +56,7 @@ class TransactionListApi(Resource): A ``dict`` containing the data about the transaction. """ parser = reqparse.RequestParser() - parser.add_argument('mode', type=parameters.valid_mode, - choices=['async', 'sync', 'commit']) + parser.add_argument('mode', type=parameters.valid_mode) args = parser.parse_args() if not str(args['mode']) or str(args['mode']) == 'None': args['mode'] = 'broadcast_tx_async'