From 0328d9cf6613b18e1a6c6198d30547c245d9d2de Mon Sep 17 00:00:00 2001 From: Carlos Rodriguez Date: Thu, 29 Aug 2024 15:43:21 +0200 Subject: [PATCH] nit: remove useless code --- modules/light-clients/08-wasm/testing/simapp/simd/cmd/root.go | 3 --- simapp/simd/cmd/root.go | 3 --- 2 files changed, 6 deletions(-) diff --git a/modules/light-clients/08-wasm/testing/simapp/simd/cmd/root.go b/modules/light-clients/08-wasm/testing/simapp/simd/cmd/root.go index e2377cab7ab..a1e4677f614 100644 --- a/modules/light-clients/08-wasm/testing/simapp/simd/cmd/root.go +++ b/modules/light-clients/08-wasm/testing/simapp/simd/cmd/root.go @@ -142,9 +142,6 @@ func enrichAutoCliOpts(autoCliOpts autocli.AppOptions, clientCtx client.Context) } autoCliOpts.ClientCtx = clientCtx - if err != nil { - return autocli.AppOptions{}, err - } return autoCliOpts, nil } diff --git a/simapp/simd/cmd/root.go b/simapp/simd/cmd/root.go index a3f2c67d5e8..496a129da46 100644 --- a/simapp/simd/cmd/root.go +++ b/simapp/simd/cmd/root.go @@ -140,9 +140,6 @@ func enrichAutoCliOpts(autoCliOpts autocli.AppOptions, clientCtx client.Context) } autoCliOpts.ClientCtx = clientCtx - if err != nil { - return autocli.AppOptions{}, err - } return autoCliOpts, nil }