Skip to content

Commit

Permalink
Fix verifier initialization bug in cli
Browse files Browse the repository at this point in the history
  • Loading branch information
cl9200 committed Apr 20, 2020
1 parent 5bb5c22 commit 464a3d4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 464a3d4

Please sign in to comment.