Update EndBlock parameters

* Update abci dependencies
* Modify references from Diffs to Changes
* Fixes issues #924
This commit is contained in:
Ethan Frey
2017-12-13 18:09:10 +01:00
committed by Ethan Buchman
parent 652d1e3de8
commit 4265a94bfe
5 changed files with 12 additions and 12 deletions

View File

@ -111,11 +111,11 @@ func execBlockOnProxyApp(txEventPublisher types.TxEventPublisher, proxyAppConn p
return nil, err
}
valDiff := abciResponses.EndBlock.Diffs
valChanges := abciResponses.EndBlock.Changes
logger.Info("Executed block", "height", block.Height, "validTxs", validTxs, "invalidTxs", invalidTxs)
if len(valDiff) > 0 {
logger.Info("Update to validator set", "updates", abci.ValidatorsString(valDiff))
if len(valChanges) > 0 {
logger.Info("Update to validator set", "updates", abci.ValidatorsString(valChanges))
}
return abciResponses, nil