Skip to content

Commit

Permalink
Fix failed gentx because node is untrusted (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
Youngjoon Lee authored Sep 29, 2020
1 parent 299dac5 commit e5971ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/gentx.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ func prepareFlagsForTxCreateValidator(
viper.Set(client.FlagFrom, viper.GetString(client.FlagName))
viper.Set(cli.FlagNodeID, nodeID)
viper.Set(cli.FlagIP, ip)
viper.Set("trust-node", true)
viper.Set(cli.FlagPubKey, sdk.MustBech32ifyConsPub(valPubKey))
viper.Set(cli.FlagMoniker, config.Moniker)
viper.Set(cli.FlagWebsite, website)
Expand Down

0 comments on commit e5971ed

Please sign in to comment.