ValidatorSetUpdates -> ValidatorUpdates

This commit is contained in:
Anton Kaliaev
2017-12-21 11:52:26 -06:00
parent 843e1ed400
commit 0ffd60b8cf
6 changed files with 23 additions and 23 deletions

View File

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