Parts -> PartsHeader; *_parts -> *_parts_header in sign_bytes

This commit is contained in:
Jae Kwon
2015-08-12 22:36:43 -07:00
parent afc3e3b6c7
commit 5bf0040f14
6 changed files with 46 additions and 46 deletions

View File

@@ -623,11 +623,11 @@ func TestAddValidator(t *testing.T) {
// The validation for the next block should only require 1 signature
// (the new validator wasn't active for block0)
precommit0 := &types.Vote{
Height: 1,
Round: 0,
Type: types.VoteTypePrecommit,
BlockHash: block0.Hash(),
BlockParts: block0Parts.Header(),
Height: 1,
Round: 0,
Type: types.VoteTypePrecommit,
BlockHash: block0.Hash(),
BlockPartsHeader: block0Parts.Header(),
}
privValidators[0].SignVote(s0.ChainID, precommit0)