We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 101dd9c commit 8375ed0Copy full SHA for 8375ed0
modules/alert_bot.py
@@ -190,6 +190,9 @@ def check_zero_blocks_created(self):
190
ts = get_timestamp()
191
period = VALIDATION_PERIOD // 3 # 6h for mainnet, 40m for testnet
192
start, end = ts - period, ts - 60
193
+ config34 = self.ton.GetConfig34()
194
+ if start < config34.startWorkTime: # round started recently
195
+ return
196
validators = self.ton.GetValidatorsList(start=start, end=end)
197
validator = self.validator_module.find_myself(validators)
198
if validator is None or validator.blocks_created > 0:
0 commit comments