lint: fix collection of stale errors (#7090)

Few things that had been annoying.
This commit is contained in:
Sam Kleinman
2021-10-09 15:33:54 +00:00
committed by GitHub
parent befd669794
commit ded310093e
18 changed files with 33 additions and 36 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ func TestCreateProposalBlock(t *testing.T) {
// fill the evidence pool with more evidence
// than can fit in a block
var currentBytes int64 = 0
var currentBytes int64
for currentBytes <= maxEvidenceBytes {
ev := types.NewMockDuplicateVoteEvidenceWithValidator(height, time.Now(), privVals[0], "test-chain")
currentBytes += int64(len(ev.Bytes()))