From aaf70fefcfaa18910bf96bcbdcc00ab3982e2130 Mon Sep 17 00:00:00 2001 From: Youngtaek Yoon Date: Mon, 11 Sep 2023 15:06:45 +0000 Subject: [PATCH] Lint --- x/foundation/client/cli/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/foundation/client/cli/tx.go b/x/foundation/client/cli/tx.go index 3fee54bfbe..e654e0f887 100644 --- a/x/foundation/client/cli/tx.go +++ b/x/foundation/client/cli/tx.go @@ -105,7 +105,7 @@ func normalizeCensorshipAuthority(option string) string { func getEnumPrefix(str string) string { delimiter := "_" splitted := strings.Split(str, delimiter) - return strings.Join(splitted[:len(splitted) - 1], delimiter) + delimiter + return strings.Join(splitted[:len(splitted)-1], delimiter) + delimiter } // VoteOptionFromString returns a VoteOption from a string. It returns an error