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

@ -112,6 +112,7 @@ func makeBlock(height int64, state *sm.State) *types.Block {
block, _ := types.MakeBlock(height, "test_chain", makeTxs(height),
state.LastBlockTotalTx, new(types.Commit),
prevBlockID, valHash, state.AppHash,
state.Params.Hash(),
state.Params.BlockGossipParams.BlockPartSizeBytes)
return block
}