Skip to content

Commit

Permalink
Remove duplicate error handling in authz_vote.go
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
meetrick committed Sep 11, 2024
1 parent 69dc9c1 commit bb1f812
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions auth_vote/authz_vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ func main() {
panic(err)
}

if err != nil {
panic(err)
}

senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
os.Getenv("HOME")+"/.injectived",
"injectived",
Expand Down

0 comments on commit bb1f812

Please sign in to comment.