evidence: remove validator index verification (#5225)

This commit is contained in:
Callum Waters
2020-08-11 15:32:32 +02:00
committed by GitHub
parent 312c4f8fe1
commit bfcf45a461
3 changed files with 0 additions and 27 deletions

View File

@@ -78,13 +78,6 @@ func makeEvidences(
fakes = append(fakes, newEvidence(t, val, &vote, &v, chainID))
}
// different index
{
v := vote2
v.ValidatorIndex = vote.ValidatorIndex + 1
fakes = append(fakes, newEvidence(t, val, &vote, &v, chainID))
}
// different height
{
v := vote2