Add hook to release funds
This commit is contained in:
parent
bdd7921bc0
commit
3bcebb9d61
|
@ -117,7 +117,9 @@ class Transactions(object):
|
|||
if not account_type == "revolut":
|
||||
self.irc.client.msg(self.irc.client.channel, f"Account type is not Revolut: {account_type}")
|
||||
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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue