mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
fix tests
This commit is contained in:
parent
06a091e215
commit
b7d235379a
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user