diff --git a/.goreleaser.yml b/.goreleaser.yml index 55d842b..001610f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,3 +1,4 @@ +version: 2 before: hooks: - go mod tidy diff --git a/templates/discord/Status.md b/templates/discord/Status.md index a70dd36..b46b35c 100644 --- a/templates/discord/Status.md +++ b/templates/discord/Status.md @@ -3,7 +3,7 @@ You are subscribed to the following validators' updates on {{ .ChainConfig.GetNa {{- range .Entries }} {{ if .Validator.Jailed -}} **{{ SerializeLink .Link }}:** jailed -{{- else if not .Validator.Active -}} +{{- else if not .IsActive -}} **{{ SerializeLink .Link }}:** not in the active set {{- else if .Error -}} **{{ SerializeLink .Link }}:**: error getting validators missed blocks: {{ .Error }}