Fix bug automatic resolutions

This commit is contained in:
Reckless_Satoshi 2023-05-12 11:29:19 -07:00
parent 1e39f32eb5
commit 1b347420fe
No known key found for this signature in database
GPG Key ID: 9C4585B561315571

View File

@ -412,8 +412,8 @@ class Logics:
elif num_messages_taker == 0: elif num_messages_taker == 0:
cls.return_escrow(order) cls.return_escrow(order)
cls.settle_bond(order.maker_bond) cls.settle_bond(order.taker_bond)
cls.return_bond(order.taker_bond) cls.return_bond(order.maker_bond)
cls.add_slashed_rewards(order, order.taker_bond, order.maker_bond) cls.add_slashed_rewards(order, order.taker_bond, order.maker_bond)
order.status = Order.Status.TLD order.status = Order.Status.TLD
else: else: