Add hook to release funds

pull/1/head
Mark Veidemanis 3 years ago
parent bdd7921bc0
commit 3bcebb9d61
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -117,7 +117,9 @@ class Transactions(object):
if not account_type == "revolut": if not account_type == "revolut":
self.irc.client.msg(self.irc.client.channel, f"Account type is not Revolut: {account_type}") self.irc.client.msg(self.irc.client.channel, f"Account type is not Revolut: {account_type}")
return return
self.irc.client.msg(self.irc.client.channel, f"All checks passed, would release funds for {stored_trade['id']} / {reference}") self.irc.client.msg(self.irc.client.channel, f"All checks passed, releasing funds for {stored_trade['id']} / {reference}")
rtrn = self.agora.release_funds(txid)
self.irc.client.msg(self.irc.client.channel, dumps(rtrn))
def new_trade(self, trade_id, buyer, currency, amount, amount_xmr): def new_trade(self, trade_id, buyer, currency, amount, amount_xmr):
""" """

Loading…
Cancel
Save