We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba49fb commit 70668e3Copy full SHA for 70668e3
modules/alert_bot.py
@@ -322,7 +322,7 @@ def check_validator_wallet_balance(self):
322
return
323
validator_wallet = self.ton.GetValidatorWallet()
324
validator_account = self.ton.GetAccount(validator_wallet.addrB64)
325
- if validator_account.balance < 10:
+ if validator_account.status != "empty" and validator_account.balance < 10:
326
self.send_alert("low_wallet_balance", wallet=validator_wallet.addrB64, balance=validator_account.balance)
327
328
def check_efficiency(self):
0 commit comments