From 88aa87f1006de338e472811374d966f313861db2 Mon Sep 17 00:00:00 2001 From: Tomasz Nowak <1542258+kayano@users.noreply.github.com> Date: Tue, 16 Jan 2024 12:45:30 +0100 Subject: [PATCH] Update pkg/grpc/grpc.go MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Joonas Lehtimäki --- pkg/grpc/grpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/grpc/grpc.go b/pkg/grpc/grpc.go index da04048..6a0bcd0 100644 --- a/pkg/grpc/grpc.go +++ b/pkg/grpc/grpc.go @@ -244,5 +244,6 @@ func LatestBlockHeight(ctx context.Context, cfg config.Config) (int64, error) { func bondStatus(status staking.BondStatus) string { statusWithoutPrefix, _ := strings.CutPrefix(status.String(), bondStatusPrefix) + return strings.ToLower(statusWithoutPrefix) }