Fix calls to API in releasing trade

This commit is contained in:
Mark Veidemanis 2022-05-13 16:23:39 +01:00
parent c516bb9ca9
commit 1a29423cb7
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 2 deletions

View File

@ -262,10 +262,10 @@ class Transactions(util.Base):
self.irc.sendmsg(logmessage) self.irc.sendmsg(logmessage)
if platform == "agora": if platform == "agora":
release = self.agora.release_funds release = self.agora.release_funds
post_message = self.agora.agora.contact_message_post post_message = self.agora.api.contact_message_post
elif platform == "lbtc": elif platform == "lbtc":
release = self.lbtc.release_funds 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) rtrn = release(trade_id)
if rtrn["message"] == "OK": if rtrn["message"] == "OK":