From f0517391605cd0299e98581d7843ec119dd79ab7 Mon Sep 17 00:00:00 2001 From: Jean-Pierre CHENG Date: Fri, 1 Nov 2024 12:07:29 +0700 Subject: [PATCH] add more info on the validator when jailed --- td2/alert.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td2/alert.go b/td2/alert.go index 0227fc7..65fcb4d 100644 --- a/td2/alert.go +++ b/td2/alert.go @@ -502,7 +502,7 @@ 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, @@ -510,7 +510,7 @@ func (cc *ChainConfig) watch() { } 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,