From 1b347420fe03b6037915ba1bbb4af929746a1c9f Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 12 May 2023 11:29:19 -0700 Subject: [PATCH] Fix bug automatic resolutions --- api/logics.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/logics.py b/api/logics.py index 136203e7..ddfc1fc2 100644 --- a/api/logics.py +++ b/api/logics.py @@ -412,8 +412,8 @@ class Logics: elif num_messages_taker == 0: cls.return_escrow(order) - cls.settle_bond(order.maker_bond) - cls.return_bond(order.taker_bond) + cls.settle_bond(order.taker_bond) + cls.return_bond(order.maker_bond) cls.add_slashed_rewards(order, order.taker_bond, order.maker_bond) order.status = Order.Status.TLD else: