mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
parent
3fec83d2e2
commit
869e3c978f
@ -26,7 +26,7 @@ class StatusApi(Resource):
|
||||
|
||||
# logical xor - exactly one query argument required
|
||||
if bool(tx_id) == bool(block_id):
|
||||
return make_error(400, 'Provide exactly one query parameter. Choices are: block_id, tx_id')
|
||||
return make_error(400, 'Provide exactly one query parameter. Choices are: block_id, transaction_id')
|
||||
|
||||
pool = current_app.config['bigchain_pool']
|
||||
status = None
|
||||
|
Loading…
x
Reference in New Issue
Block a user