Skip to content

Commit

Permalink
Merge PR #6021: Fix failed gentx because node is untrusted
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzampolin committed Apr 17, 2020
1 parent de00a7f commit fe163e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/staking/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ func PrepareFlagsForTxCreateValidator(
viper.Set(flags.FlagFrom, viper.GetString(flags.FlagName))
viper.Set(FlagNodeID, nodeID)
viper.Set(FlagIP, ip)
viper.Set(flags.FlagTrustNode, true)
viper.Set(FlagPubKey, sdk.MustBech32ifyPubKey(sdk.Bech32PubKeyTypeConsPub, valPubKey))
viper.Set(FlagMoniker, config.Moniker)
viper.Set(FlagWebsite, website)
Expand Down

0 comments on commit fe163e8

Please sign in to comment.