File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ def check_validator_wallet_balance(self):
322322 return
323323 validator_wallet = self .ton .GetValidatorWallet ()
324324 validator_account = self .ton .GetAccount (validator_wallet .addrB64 )
325- if validator_account .balance < 10 :
325+ if validator_account .status != "empty" and validator_account . balance < 10 :
326326 self .send_alert ("low_wallet_balance" , wallet = validator_wallet .addrB64 , balance = validator_account .balance )
327327
328328 def check_efficiency (self ):
Original file line number Diff line number Diff line change @@ -100,4 +100,4 @@ def parse_db_stats(path: str):
100100# end define
101101
102102def get_hostname ():
103- return subprocess .run (["hostname" , "-f" ], stdout = subprocess .PIPE ).stdout .decode ().strip ()
103+ return subprocess .run (["hostname" ], stdout = subprocess .PIPE ).stdout .decode ().strip ()
You can’t perform that action at this time.
0 commit comments