fix consensus tests

This commit is contained in:
Ethan Buchman
2018-05-31 23:56:44 -04:00
parent e1e6878a4d
commit 866bcceb35
4 changed files with 40 additions and 20 deletions

View File

@ -367,7 +367,7 @@ func (h *Handshaker) replayBlocks(state sm.State, proxyApp proxy.AppConns, appBl
for i := appBlockHeight + 1; i <= finalBlock; i++ {
h.logger.Info("Applying block", "height", i)
block := h.store.LoadBlock(i)
appHash, err = sm.ExecCommitBlock(proxyApp.Consensus(), block, h.logger)
appHash, err = sm.ExecCommitBlock(proxyApp.Consensus(), block, h.logger, state.LastValidators)
if err != nil {
return nil, err
}