Fix meaning of --trust-node, pass tests

This commit is contained in:
Ethan Frey 2017-08-04 18:51:16 +02:00
parent 8d3576f0f7
commit 4df20df62a
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func txQueryCmd(cmd *cobra.Command, args []string) error {
// get the proof -> this will be used by all prover commands
node := commands.GetNode()
prove := viper.GetBool(commands.FlagTrustNode)
prove := !viper.GetBool(commands.FlagTrustNode)
res, err := node.Tx(bkey, prove)
if err != nil {
return err