Add ConsensusHash to header

This commit is contained in:
Ethan Frey
2017-12-14 10:28:04 +01:00
committed by Ethan Buchman
parent 56cada6a0c
commit d151e36ea8
7 changed files with 33 additions and 14 deletions

View File

@ -866,7 +866,8 @@ func (cs *ConsensusState) createProposalBlock() (block *types.Block, blockParts
return types.MakeBlock(cs.Height, cs.state.ChainID, txs,
cs.state.LastBlockTotalTx, commit,
cs.state.LastBlockID, cs.state.Validators.Hash(),
cs.state.AppHash, cs.state.Params.BlockPartSizeBytes)
cs.state.AppHash, cs.state.Params.Hash(),
cs.state.Params.BlockPartSizeBytes)
}
// Enter: `timeoutPropose` after entering Propose.