minor fixes

This commit is contained in:
Ethan Buchman
2018-08-16 10:58:03 -04:00
parent 4f61b97bbe
commit 0701d79046
2 changed files with 4 additions and 3 deletions

View File

@@ -215,9 +215,10 @@ func execBlockOnProxyApp(logger log.Logger, proxyAppConn proxy.AppConnConsensus,
logger.Info("Executed block", "height", block.Height, "validTxs", validTxs, "invalidTxs", invalidTxs)
if len(abciResponses.EndBlock.ValidatorUpdates) > 0 {
valUpdates := abciResponses.EndBlock.ValidatorUpdates
if len(valUpdates) > 0 {
// TODO: cleanup the formatting
logger.Info("Updates to validators", "updates", abciResponses.EndBlock.ValidatorUpdates)
logger.Info("Updates to validators", "updates", valUpdates)
}
return abciResponses, nil