added sep string var properly

This commit is contained in:
rigelrozanski 2017-08-31 18:22:58 -04:00
parent dd68d34216
commit eae60cedee
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ func initCmd(cmd *cobra.Command, args []string) error {
options = append(options, option)
}
}
optionsStr += strings.Join(options[:], ",\n ")
optionsStr += strings.Join(options[:], sep)
genesis := GetGenesisJSON(viper.GetString(FlagChainID), userAddr, optionsStr)
return CreateGenesisValidatorFiles(cfg, genesis, cmd.Root().Name())