mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Syntax-fix: Stray comment
This commit is contained in:
parent
fb5264ecff
commit
e8bcac2ea3
@ -234,10 +234,9 @@ class Bigchain(object):
|
||||
A list of transactions containing that payload. If no transaction exists with that payload it
|
||||
returns an empty list `[]`
|
||||
"""
|
||||
|
||||
cursor = r.table('bigchain') \
|
||||
.get_all(payload_uuid, index='payload_uuid') \
|
||||
.concat_map(lambda block: block['block']['transactions']) \ # concat all transaction lists
|
||||
.concat_map(lambda block: block['block']['transactions']) \
|
||||
.filter(lambda transaction: transaction['transaction']['data']['uuid'] == payload_uuid) \
|
||||
.run(b.conn)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user