mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-07 05:46:32 +00:00
evidence: remove validator index verification (#5225)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user