File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def check_efficiency(self, args):
5454 end_time = timestamp2utcdatetime (config32 .endWorkTime )
5555 color_print (f"Previous round time: {{yellow}}from { start_time } to { end_time } {{endc}}" )
5656 if validator :
57- if not validator .is_masterchain :
57+ if validator .is_masterchain == False :
5858 print ("Validator index is greater than 100 in the previous round - no efficiency data." )
5959 elif validator .get ('efficiency' ) is None :
6060 print ('Failed to get efficiency for the previous round' )
@@ -71,7 +71,7 @@ def check_efficiency(self, args):
7171 end_time = timestamp2utcdatetime (int (get_timestamp ()))
7272 color_print (f"Current round time: {{green}}from { start_time } to { end_time } {{endc}}" )
7373 if validator :
74- if not validator .is_masterchain :
74+ if validator .is_masterchain == False :
7575 print ("Validator index is greater than 100 in the current round - no efficiency data." )
7676 elif (time .time () - config34 .startWorkTime ) / (config34 .endWorkTime - config34 .startWorkTime ) < 0.8 :
7777 print ("The validation round has started recently, there is not enough data yet. "
You can’t perform that action at this time.
0 commit comments