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 }