evidence: fix usage of time field in abci evidence (#5201)

* fix usage of time in abci evidence

* update changelong and upgrading

* add test cases
This commit is contained in:
Callum Waters
2020-08-04 12:58:48 +02:00
committed by GitHub
parent ad2e515112
commit 68468fb024
6 changed files with 20 additions and 13 deletions

View File

@@ -360,7 +360,7 @@ func getBeginBlockValidatorInfo(block *types.Block, stateDB dbm.DB) (abci.LastCo
if err != nil {
panic(err)
}
byzVals[i] = types.TM2PB.Evidence(ev, valset, block.Time)
byzVals[i] = types.TM2PB.Evidence(ev, valset)
}
return abci.LastCommitInfo{