Skip to content

Commit

Permalink
Fixed parse key issue (cosmos#9299)
Browse files Browse the repository at this point in the history
* Fixed parse key issue

* Added getconfig in root command

* uncommented changes in parse.go
  • Loading branch information
PrathyushaLakkireddy authored May 12, 2021
1 parent b4125d1 commit d7dd1d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
}

func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig) {
cfg := sdk.GetConfig()
cfg.Seal()

rootCmd.AddCommand(
genutilcli.InitCmd(simapp.ModuleBasics, simapp.DefaultNodeHome),
genutilcli.CollectGenTxsCmd(banktypes.GenesisBalancesIterator{}, simapp.DefaultNodeHome),
Expand Down

0 comments on commit d7dd1d7

Please sign in to comment.