Merge remote-tracking branch 'upstream/develop' into bzz

This commit is contained in:
zelig 2015-05-30 12:45:58 +01:00
commit e6806dce6a

View file

@ -522,9 +522,9 @@ type queueEvent struct {
} }
func (self *ChainManager) procFutureBlocks() { func (self *ChainManager) procFutureBlocks() {
blocks := make([]*types.Block, len(self.futureBlocks.blocks)) blocks := []*types.Block{}
self.futureBlocks.Each(func(i int, block *types.Block) { self.futureBlocks.Each(func(i int, block *types.Block) {
blocks[i] = block blocks = append(blocks, block)
}) })
types.BlockBy(types.Number).Sort(blocks) types.BlockBy(types.Number).Sort(blocks)