Skip to content

Commit b61706b

Browse files
committed
rm out_of_ser for validators
1 parent 875f9a2 commit b61706b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mytonctrl/mytonctrl.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,8 @@ def PrintLocalStatus(local, ton, adnlAddr, validatorIndex, validatorEfficiency,
783783
print(mytoncoreStatus_text)
784784
print(validatorStatus_text)
785785
print(validator_out_of_sync_text)
786-
print(validator_out_of_ser_text)
786+
if not ton.using_validator(): # don't need this for validators since they do not serialize states
787+
print(validator_out_of_ser_text)
787788
print(dbStatus_text)
788789
print(mtcVersion_text)
789790
print(validatorVersion_text)

0 commit comments

Comments
 (0)