Fix output from release trade and notify about useless accounts
This commit is contained in:
parent
4e9e5ef0fb
commit
fbe9dc2325
|
@ -67,6 +67,7 @@ class Sinks(util.Base):
|
|||
for account in list(accounts):
|
||||
if len(account["account_number"]) == 1:
|
||||
account_infos[bank].remove(account)
|
||||
self.log.warning(f"Potentially useless bank account: {account}")
|
||||
currencies = [account["currency"] for bank, accounts in account_infos.items() for account in accounts]
|
||||
|
||||
self.account_info = account_infos
|
||||
|
|
|
@ -189,8 +189,8 @@ class Transactions(util.Base):
|
|||
|
||||
# Parse the escrow release response
|
||||
message = rtrn["message"]
|
||||
message_long = rtrn["response"]["data"]["message"]
|
||||
self.irc.sendmsg(f"{message} - {message_long}")
|
||||
#message_long = rtrn["response"]["data"]["message"]
|
||||
self.irc.sendmsg(f"{dumps(message)}")
|
||||
|
||||
def new_trade(self, asset, trade_id, buyer, currency, amount, amount_crypto, provider):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue