Skip to content

Commit d1dcbb9

Browse files
committed
fix fast GetValidatorsList
1 parent 72e66cb commit d1dcbb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytoncore/mytoncore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2495,7 +2495,7 @@ def GetValidatorsList(self, past=False, fast=False, start=None, end=None):
24952495
end = timestamp - 60
24962496
if start is None:
24972497
if fast:
2498-
start = end - 1000
2498+
start = max(end - 1000, config.get("startWorkTime"))
24992499
else:
25002500
start = config.get("startWorkTime")
25012501
if past:

0 commit comments

Comments
 (0)