MakePartSet takes partSize from config. fix replay test

This commit is contained in:
Jae Kwon
2016-09-16 09:20:07 -07:00
committed by Ethan Buchman
parent 95c8bb4252
commit d83fc02597
16 changed files with 102 additions and 67 deletions

View File

@ -946,7 +946,7 @@ func (cs *ConsensusState) createProposalBlock() (block *types.Block, blockParts
},
}
block.FillHeader()
blockParts = block.MakePartSet()
blockParts = block.MakePartSet(cs.config.GetInt("block_part_size"))
return block, blockParts
}