From 4df20df62aac6158043833eeee35e52bca4c1afc Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Fri, 4 Aug 2017 18:51:16 +0200 Subject: [PATCH] Fix meaning of --trust-node, pass tests --- client/commands/proofs/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/commands/proofs/tx.go b/client/commands/proofs/tx.go index 930c22ddc..c5a80c1fa 100644 --- a/client/commands/proofs/tx.go +++ b/client/commands/proofs/tx.go @@ -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