Fix calls to API in releasing trade
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user