Skip to content

Commit

Permalink
Update src/handlers/consolidation.py
Browse files Browse the repository at this point in the history
Co-authored-by: AlexanderLukin <[email protected]>
  • Loading branch information
dputko and AlexanderLukin authored Dec 23, 2024
1 parent 3e7617c commit fb1a38c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/consolidation.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def handle(self, watcher, head: FullBlockInfo):
alert = CommonAlert(name="HeadWatcherConsolidationSourceLido", severity="moderate")
summary = "🔗🤗 Consolidation was requested for our validators"
elif consolidation.target_pubkey in watcher.user_keys:
alert = CommonAlert(name="HeadWatcherConsolidationPossibleDonation", severity="moderate")
alert = CommonAlert(name="HeadWatcherConsolidationUserTargetPubkey", severity="info")
summary = "🔗🤗 Someone attempts to consolidate their validators to our validators"
# in the future we should check the type of validator WC:
# if it is 0x02 and source_address == WCs of source validator - It's donation!
Expand Down

0 comments on commit fb1a38c

Please sign in to comment.