And use buffer(...) there as well
This commit is contained in:
parent
ed2584050f
commit
0cf7e480b4
|
@ -99,5 +99,5 @@ class TransactionActions(object):
|
||||||
transaction.transaction_id,
|
transaction.transaction_id,
|
||||||
transaction.destination,
|
transaction.destination,
|
||||||
response_code,
|
response_code,
|
||||||
encode_canonical_json(response_dict)
|
response_dict,
|
||||||
)
|
)
|
||||||
|
|
|
@ -162,7 +162,8 @@ class TransactionStore(SQLBaseStore):
|
||||||
return self.runInteraction(
|
return self.runInteraction(
|
||||||
"delivered_txn",
|
"delivered_txn",
|
||||||
self._delivered_txn,
|
self._delivered_txn,
|
||||||
transaction_id, destination, code, response_dict
|
transaction_id, destination, code,
|
||||||
|
buffer(encode_canonical_json(response_dict)),
|
||||||
)
|
)
|
||||||
|
|
||||||
def _delivered_txn(self, txn, transaction_id, destination,
|
def _delivered_txn(self, txn, transaction_id, destination,
|
||||||
|
|
Loading…
Reference in New Issue