mirror of
https://github.com/fluencelabs/tendermint
synced 2025-07-30 19:51:58 +00:00
Store LastConsensusHash in State as well
Update all BlockValidation that it matches the last state
This commit is contained in:
committed by
Ethan Buchman
parent
45bc106de7
commit
960b25408f
@@ -112,7 +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.LastConsensusHash,
|
||||
state.Params.BlockGossipParams.BlockPartSizeBytes)
|
||||
return block
|
||||
}
|
||||
|
Reference in New Issue
Block a user