From bb1f81257ad4d7dd128afbb77ece57f865ae7d09 Mon Sep 17 00:00:00 2001 From: Hwangjae Lee Date: Tue, 10 Sep 2024 16:48:37 +0900 Subject: [PATCH] Remove duplicate error handling in authz_vote.go This PR removes a redundant error handling block in the `authz_vote.go` file to improve code clarity and reduce unnecessary code duplication. Signed-off-by: Hwangjae Lee --- auth_vote/authz_vote.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/auth_vote/authz_vote.go b/auth_vote/authz_vote.go index 77613712..b38b6d56 100644 --- a/auth_vote/authz_vote.go +++ b/auth_vote/authz_vote.go @@ -22,10 +22,6 @@ func main() { panic(err) } - if err != nil { - panic(err) - } - senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring( os.Getenv("HOME")+"/.injectived", "injectived",