mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-24 18:21:38 +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
@ -120,7 +120,7 @@ func makeBlock(height int64, state *State) *types.Block {
|
||||
block, _ := types.MakeBlock(height, chainID,
|
||||
makeTxs(height), state.LastBlockTotalTx,
|
||||
new(types.Commit), prevBlockID, valHash,
|
||||
state.AppHash, state.Params.Hash(), testPartSize)
|
||||
state.AppHash, state.LastConsensusHash, testPartSize)
|
||||
return block
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user