Uncomment release funds code

This commit is contained in:
Mark Veidemanis 2022-01-01 21:00:37 +00:00
parent faa71dc2ed
commit 707f23f2e3
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 3 additions and 3 deletions

View File

@ -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):
"""