mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
decode_result takes an iterable
This commit is contained in:
parent
455579ca90
commit
d4f50f3ae5
2 changed files with 5 additions and 2 deletions
|
@ -122,7 +122,7 @@ class TransactionStore(SQLBaseStore):
|
|||
)
|
||||
|
||||
txn.execute(query, (destination,))
|
||||
results = SentTransactions.decode_results(txn)
|
||||
results = SentTransactions.decode_results(txn.fetchall())
|
||||
|
||||
prev_txns = [r.transaction_id for r in results]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue