From 8bb2c2b95028dbc01cc7b6258bdbf667a5329e51 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 1 Jan 2022 21:00:37 +0000 Subject: [PATCH] Uncomment release funds code --- handler/transactions.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/handler/transactions.py b/handler/transactions.py index cbcc991..1460be1 100644 --- a/handler/transactions.py +++ b/handler/transactions.py @@ -174,9 +174,9 @@ class Transactions(object): return self.log.info("All checks passed, releasing funds for {trade_id} {reference}", trade_id=stored_trade["id"], reference=reference) self.irc.sendmsg(f"All checks passed, releasing funds for {stored_trade['id']} / {reference}") - # rtrn = self.agora.release_funds(stored_trade["id"]) - # self.agora.agora.contact_message_post(stored_trade["id"], "Thanks! Releasing now :)") - # self.irc.sendmsg(dumps(rtrn)) + rtrn = self.agora.release_funds(stored_trade["id"]) + self.agora.agora.contact_message_post(stored_trade["id"], "Thanks! Releasing now :)") + self.irc.sendmsg(dumps(rtrn)) def new_trade(self, trade_id, buyer, currency, amount, amount_xmr): """