ProposalPOLRound...

This commit is contained in:
Jae Kwon
2015-06-22 19:04:31 -07:00
parent 3db63477aa
commit 9b96e2e171
7 changed files with 212 additions and 154 deletions

View File

@ -62,7 +62,7 @@ func (bs *BlockStore) LoadBlock(height uint) *types.Block {
panic(Fmt("Error reading block meta: %v", err))
}
bytez := []byte{}
for i := uint(0); i < meta.Parts.Total; i++ {
for i := uint(0); i < meta.PartsHeader.Total; i++ {
part := bs.LoadBlockPart(height, i)
bytez = append(bytez, part.Bytes...)
}