Add a todo in Agora

This commit is contained in:
Mark Veidemanis 2022-03-06 22:21:33 +00:00
parent ae16ad6687
commit 878a261295
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 1 additions and 0 deletions

View File

@ -637,6 +637,7 @@ class Agora(util.Base):
if not float(wallet_xmr) > profit_usd_in_xmr: if not float(wallet_xmr) > profit_usd_in_xmr:
# Not enough funds to withdraw # Not enough funds to withdraw
# TODO: Send a message to notify
self.log.error(f"Not enough funds to withdraw {profit_usd_in_xmr}, as wallet only contains {wallet_xmr}") self.log.error(f"Not enough funds to withdraw {profit_usd_in_xmr}, as wallet only contains {wallet_xmr}")
self.irc.sendmsg(f"Not enough funds to withdraw {profit_usd_in_xmr}, as wallet only contains {wallet_xmr}") self.irc.sendmsg(f"Not enough funds to withdraw {profit_usd_in_xmr}, as wallet only contains {wallet_xmr}")
return return