Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
add more info on the validator when jailed (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
kerto07 authored Dec 5, 2024
1 parent 292de4d commit 6a2899b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions td2/alert.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,15 +502,15 @@ func (cc *ChainConfig) watch() {
}
td.alert(
cc.name,
fmt.Sprintf("%s is no longer active: validator is %s", cc.valInfo.Moniker, inactive),
fmt.Sprintf("%s is no longer active: validator %s is %s for chainid %s", cc.valInfo.Moniker, cc.ValAddress, inactive, cc.ChainId),
"critical",
false,
&id,
)
} else if cc.valInfo.Bonded && !cc.lastValInfo.Bonded {
td.alert(
cc.name,
fmt.Sprintf("%s is no longer active: validator is %s", cc.valInfo.Moniker, inactive),
fmt.Sprintf("%s is no longer active: validator %s is %s for chainid %s", cc.valInfo.Moniker, cc.ValAddress, inactive, cc.ChainId),
"info",
true,
&id,
Expand Down

0 comments on commit 6a2899b

Please sign in to comment.