From 464a3d45bd5c8eb8df11254398026004bb12c189 Mon Sep 17 00:00:00 2001 From: Cha Minkyoo Date: Mon, 20 Apr 2020 16:22:54 +0900 Subject: [PATCH] Fix verifier initialization bug in cli --- client/context/context.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/context/context.go b/client/context/context.go index ea87533ff4fd..057fcc9bf086 100644 --- a/client/context/context.go +++ b/client/context/context.go @@ -105,10 +105,10 @@ func NewCLIContext() CLIContext { } func createVerifier() tmlite.Verifier { - trustNodeDefined := viper.IsSet(client.FlagTrustNode) - if !trustNodeDefined { - return nil - } + // trustNodeDefined := viper.IsSet(client.FlagTrustNode) + // if !trustNodeDefined { + // return nil + // } trustNode := viper.GetBool(client.FlagTrustNode) if trustNode {