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 @@ -63,7 +63,7 @@ def check_efficiency(self, args):
6363 color_efficiency = GetColorInt (efficiency , 90 , logic = "more" , ending = "%" )
6464 created = validator .blocks_created
6565 expected = validator .blocks_expected
66- color_print (f"Previous round efficiency: { color_efficiency } {{yellow}}({ created } blocks created / { expected } blocks expected){{endc}}" )
66+ color_print (f"Previous round efficiency: { color_efficiency } {{yellow}}({ created } blocks created / { round ( expected , 1 ) } blocks expected){{endc}}" )
6767 else :
6868 print ("Couldn't find this validator in the previous round" )
6969 validator = self .find_myself (validators )
@@ -83,7 +83,7 @@ def check_efficiency(self, args):
8383 color_efficiency = GetColorInt (efficiency , 90 , logic = "more" , ending = "%" )
8484 created = validator .blocks_created
8585 expected = validator .blocks_expected
86- color_print (f"Current round efficiency: { color_efficiency } {{yellow}}({ created } blocks created / { expected } blocks expected){{endc}}" )
86+ color_print (f"Current round efficiency: { color_efficiency } {{yellow}}({ created } blocks created / { round ( expected , 1 ) } blocks expected){{endc}}" )
8787 else :
8888 print ("Couldn't find this validator in the current round" )
8989 # end define
You can’t perform that action at this time.
0 commit comments