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 a27fcec commit ffd8c41Copy full SHA for ffd8c41
modules/alert_bot.py
@@ -196,7 +196,7 @@ def check_zero_blocks_created(self):
196
validator = self.validator_module.find_myself(validators)
197
if validator is None or validator.blocks_created > 0:
198
return
199
- self.send_alert("zero_block_created", hours=period // 3600)
+ self.send_alert("zero_block_created", hours=round(period // 3600, 1))
200
201
def check_slashed(self):
202
if not self.ton.using_validator():
0 commit comments