diff --git a/Gopkg.lock b/Gopkg.lock index 6bfcbc9ec..5413c3a0a 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -374,6 +374,6 @@ [solve-meta] analyzer-name = "dep" analyzer-version = 1 - inputs-digest = "bdcf814c0cd3b8d6cc11ad03da556abe169f872a45e6dcbd8b08588b4587ddde" + inputs-digest = "6d7d755329cebd1f640324a38507c41b638ca0898737db9d633c75eff58c46f0" solver-name = "gps-cdcl" solver-version = 1 diff --git a/state/execution.go b/state/execution.go index 9ffd2be71..435b29ee6 100644 --- a/state/execution.go +++ b/state/execution.go @@ -73,7 +73,7 @@ func (blockExec *BlockExecutor) ApplyBlock(state State, blockID types.BlockID, b return state, ErrInvalidBlock(err) } - abciResponses, err := execBlockOnProxyApp(blockExec.logger, blockExec.proxyApp, block, s.LastValidators, blockExec.db) + abciResponses, err := execBlockOnProxyApp(blockExec.logger, blockExec.proxyApp, block, state.LastValidators, blockExec.db) if err != nil { return state, ErrProxyAppConn(err) } diff --git a/state/validation.go b/state/validation.go index ac133aff2..84a4cc824 100644 --- a/state/validation.go +++ b/state/validation.go @@ -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 }