Skip to content

Commit

Permalink
Update simapp/simd/cmd/root.go
Browse files Browse the repository at this point in the history
  • Loading branch information
alessio authored Dec 18, 2020
1 parent ebfe73c commit 3fb29b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func createSimappAndExport(
encCfg := simapp.MakeTestEncodingConfig() // Ideally, we would reuse the one created by NewRootCmd.
encCfg.Marshaler = codec.NewProtoCodec(encCfg.InterfaceRegistry)
var simApp *simapp.SimApp

homePath, ok := appOpts.Get(flags.FlagHome).(string)
if !ok || homePath == "" {
return servertypes.ExportedApp{}, errors.New("application home not set")
Expand Down

0 comments on commit 3fb29b0

Please sign in to comment.