Fix calls to API in releasing trade
This commit is contained in:
parent
c516bb9ca9
commit
1a29423cb7
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue