Skip to content

Commit

Permalink
(NOBIDS) Merge branch 'NOBIDS/improve_notification_speed' of github.c…
Browse files Browse the repository at this point in the history
…om:gobitfly/eth2-beaconchain-explorer into NOBIDS/improve_notification_speed
  • Loading branch information
peterbitfly committed Nov 14, 2023
2 parents 1a08be7 + af2bbe1 commit 158ca59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/notifications.go
Original file line number Diff line number Diff line change
Expand Up @@ -1664,7 +1664,7 @@ func (n *validatorIsOfflineNotification) GetEpoch() uint64 {
func (n *validatorIsOfflineNotification) GetInfo(includeUrl bool) string {
if n.IsOffline {
if includeUrl {
return fmt.Sprintf(`Validator <a href="https://%[3]v/validator/%[1]v">%[1]v</a> is offline since epoch <a href="https://%[3]v/epoch/%[2]v">%[2]v</a>).`, n.ValidatorIndex, n.EventEpoch, utils.Config.Frontend.SiteDomain)
return fmt.Sprintf(`Validator <a href="https://%[3]v/validator/%[1]v">%[1]v</a> is offline since epoch <a href="https://%[3]v/epoch/%[2]v">%[2]v</a>.`, n.ValidatorIndex, n.EventEpoch, utils.Config.Frontend.SiteDomain)
} else {
return fmt.Sprintf(`Validator %v is offline since epoch %v.`, n.ValidatorIndex, n.EventEpoch)
}
Expand Down

0 comments on commit 158ca59

Please sign in to comment.