Notify of irreconcilable trades

This commit is contained in:
2022-04-04 17:41:51 +01:00
parent 5588d016f2
commit d36bf2a048
2 changed files with 12 additions and 0 deletions

View File

@@ -38,3 +38,6 @@ class Notify(util.Base):
def notify_need_topup(self, amount_usd_xmr, amount_usd_btc):
self.sendmsg(f"XMR: {amount_usd_xmr} | BTC: {amount_usd_btc}", title="Topup needed", tags="admin", priority="5")
def notify_tx_lookup_failed(self, currency, amount, reference, code, trade_id=None):
self.sendmsg(f"Unknown TX [{code}]: {amount}{currency} ({reference}) for {trade_id}")