minor fixes
This commit is contained in:
parent
4f61b97bbe
commit
0701d79046
|
@ -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
|
||||
|
|
|
@ -57,7 +57,7 @@ func TestABCIValidators(t *testing.T) {
|
|||
assert.Nil(t, err)
|
||||
assert.Equal(t, tmValExpected, tmVals[0])
|
||||
|
||||
// val with incorrect pubkey daya
|
||||
// val with incorrect pubkey data
|
||||
abciVal = TM2PB.ValidatorUpdate(tmVal)
|
||||
abciVal.PubKey.Data = []byte("incorrect!")
|
||||
tmVals, err = PB2TM.ValidatorUpdates([]abci.ValidatorUpdate{abciVal})
|
||||
|
|
Loading…
Reference in New Issue