9be5d5cd90
The test chain generated by makeChainFork included invalid uncle headers, crashing the generator during the state commit. The headers were invalid because they used the iteration counter as the block number, even though makeChainFork uses a block with number > 0 as the parent. Fix this by introducing BlockGen.Number, which allows accessing the actual number of the block being generated. |
||
---|---|---|
.. | ||
api.go | ||
downloader_test.go | ||
downloader.go | ||
events.go | ||
metrics.go | ||
modes.go | ||
peer.go | ||
queue.go | ||
types.go |