make ineffassign linter pass

Refs #3262
This commit is contained in:
Anton Kaliaev
2019-03-07 00:19:07 +04:00
parent 411bc5e49f
commit 9257f7f79e
8 changed files with 19 additions and 10 deletions

View File

@ -93,6 +93,7 @@ func _TestAppProofs(t *testing.T) {
// verify a query before the tx block has no data (and valid non-exist proof)
bs, height, proof, err := GetWithProof(prt, k, brh-1, cl, cert)
require.NoError(err, "%#v", err)
require.Equal(height, brh-1)
// require.NotNil(proof)
// TODO: Ensure that *some* keys will be there, ensuring that proof is nil,
// (currently there's a race condition)