Skip to content

Commit 251b127

Browse files
committed
bugfix
1 parent 2c67a1c commit 251b127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytonctrl/mytonctrl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ def check_disk_usage(local, ton):
455455

456456
def check_sync(local, ton):
457457
validator_status = ton.GetValidatorStatus()
458-
if validator_status.out_of_sync >= 20:
458+
if not validator_status.is_working or validator_status.out_of_sync >= 20:
459459
print_warning(local, "sync_warning")
460460
#end define
461461

0 commit comments

Comments
 (0)