Skip to content

Commit 8047e59

Browse files
committed
bugfix
1 parent a83696f commit 8047e59

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mytonctrl/mytonctrl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,6 @@ def PrintStatus(local, ton, args):
516516

517517
# Local status
518518
validator_status = ton.GetValidatorStatus()
519-
vconfig = self.GetValidatorConfig()
520519
adnl_addr = ton.GetAdnlAddr()
521520
validator_index = None
522521
onlineValidators = None
@@ -532,7 +531,6 @@ def PrintStatus(local, ton, args):
532531
disks_load_avg = ton.GetStatistics("disksLoadAvg", statistics)
533532
disks_load_percent_avg = ton.GetStatistics("disksLoadPercentAvg", statistics)
534533

535-
#is_validator = len(vconfig.validators) > 0
536534
all_status = validator_status.is_working == True and validator_status.out_of_sync < 20
537535
if all_status:
538536
rootWorkchainEnabledTime_int = ton.GetRootWorkchainEnabledTime()

0 commit comments

Comments
 (0)