From 1a29423cb77e5046eec61a0bd2b001f2c638ac6e Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 13 May 2022 16:23:39 +0100 Subject: [PATCH] Fix calls to API in releasing trade --- handler/lib/transactions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handler/lib/transactions.py b/handler/lib/transactions.py index 6f69a68..defbf7e 100644 --- a/handler/lib/transactions.py +++ b/handler/lib/transactions.py @@ -262,10 +262,10 @@ class Transactions(util.Base): self.irc.sendmsg(logmessage) if platform == "agora": release = self.agora.release_funds - post_message = self.agora.agora.contact_message_post + post_message = self.agora.api.contact_message_post elif platform == "lbtc": release = self.lbtc.release_funds - post_message = self.lbtc.lbtc.contact_message_post + post_message = self.lbtc.api.contact_message_post rtrn = release(trade_id) if rtrn["message"] == "OK":