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 de3a3dd commit 0772837Copy full SHA for 0772837
modules/alert_bot.py
@@ -438,8 +438,9 @@ def check_voting(self):
438
return
439
need_to_vote = []
440
offers = self.ton.GetOffers()
441
+ saved_offers = self.ton.GetSaveOffers()
442
for offer in offers:
- if not offer['isPassed'] and offer['approvedPercent'] >= 50 and validator_index not in offer['votedValidators']:
443
+ if not offer['isPassed'] and offer['approvedPercent'] >= 50 and validator_index not in offer['votedValidators'] and offer['hash'] not in saved_offers:
444
need_to_vote.append(offer['hash'])
445
if need_to_vote:
446
self.send_alert("voting", hashes=' '.join(need_to_vote))
0 commit comments