Updates -> ValidatoSetUpdates

This commit is contained in:
Anton Kaliaev
2017-12-19 12:43:15 -06:00
parent 4bca6bf6f5
commit 843e1ed400
14 changed files with 107 additions and 107 deletions

View File

@ -41,7 +41,7 @@ func newBlockchainReactor(logger log.Logger, maxBlockHeight int64) *BlockchainRe
for blockHeight := int64(1); blockHeight <= maxBlockHeight; blockHeight++ {
firstBlock := makeBlock(blockHeight, state)
secondBlock := makeBlock(blockHeight+1, state)
firstParts := firstBlock.MakePartSet(state.Params.BlockGossipParams.BlockPartSizeBytes)
firstParts := firstBlock.MakePartSet(state.Params.BlockGossip.BlockPartSizeBytes)
blockStore.SaveBlock(firstBlock, firstParts, secondBlock.LastCommit)
}
@ -113,7 +113,7 @@ func makeBlock(height int64, state *sm.State) *types.Block {
state.LastBlockTotalTx, new(types.Commit),
prevBlockID, valHash, state.AppHash,
state.LastConsensusHash,
state.Params.BlockGossipParams.BlockPartSizeBytes)
state.Params.BlockGossip.BlockPartSizeBytes)
return block
}