mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-23 05:06:43 +00:00
Merge remote-tracking branch 'upstream/develop' into bzz
This commit is contained in:
commit
e6806dce6a
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue