Fixed parse key issue (#9299)

* Fixed parse key issue

* Added getconfig in root command

* uncommented changes in parse.go
This commit is contained in:
Prathyusha Lakkireddy
2021-05-12 15:19:27 +00:00
committed by GitHub
parent b4125d1f0c
commit d7dd1d7aff
+3
View File
@@ -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),