Closed
Description
E.g. when sending GetBlockHeaders(Origin = blockHash, Amount = 1000, Skip = 1, Reverse = true)
(where blockHash
is the block #4) I'm getting block headers #4, #2, #0
When sending with Skip = 0
getting headers #4, #3, #2, #1, #0, #0
(two zero blocks at the end)
The problem seems to be in that line:
https://github.com/ethereum/go-ethereum/blob/master/eth/handler.go#L421