Changes to files that had linting issue (#3731)

- Govet issues fixed
- 1 gosec issue solved using nolint

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
This commit is contained in:
Marko
2019-06-21 07:58:32 +02:00
committed by Anton Kaliaev
parent 9d5ba576ee
commit 866b343c0c
19 changed files with 53 additions and 57 deletions

View File

@@ -90,7 +90,7 @@ func TestABCIHeader(t *testing.T) {
height, numTxs,
[]byte("lastCommitHash"), []byte("dataHash"), []byte("evidenceHash"),
)
protocolVersion := version.Consensus{7, 8}
protocolVersion := version.Consensus{Block: 7, App: 8}
timestamp := time.Now()
lastBlockID := BlockID{
Hash: []byte("hash"),