Merge PR #3517: Increasing test coverage in keys/client package

This commit is contained in:
Juan Leni
2019-02-08 12:45:23 -08:00
committed by Jack Zampolin
parent cff985ffc5
commit b5fdb83830
49 changed files with 1137 additions and 312 deletions
+1 -5
View File
@@ -33,11 +33,7 @@ func RequireProof(subpath string) bool {
// Currently, only when query subpath is "/key", will proof be included in
// response. If there are some changes about proof building in iavlstore.go,
// we must change code here to keep consistency with iavlStore#Query.
if subpath == "/key" {
return true
}
return false
return subpath == "/key"
}
//-----------------------------------------------------------------------------