fixes from rebase

This commit is contained in:
Ethan Buchman
2018-06-05 22:14:37 -07:00
parent 54e61468d4
commit 71556c62eb
3 changed files with 3 additions and 3 deletions

View File

@ -117,7 +117,7 @@ func VerifyEvidence(stateDB dbm.DB, state State, evidence types.Evidence) error
return fmt.Errorf("Address %X was not a validator at height %d", addr, height)
}
if err := evidence.Verify(s.ChainID, val.PubKey); err != nil {
if err := evidence.Verify(state.ChainID, val.PubKey); err != nil {
return err
}