minor rlp things

This commit is contained in:
obscuren
2014-08-01 10:21:43 +02:00
parent 5a2d62e4d9
commit 5ede1224e4
3 changed files with 14 additions and 16 deletions

View File

@ -403,7 +403,7 @@ func (p *Peer) HandleInbound() {
}
}
}
if !p.ethereum.StateManager().BlockChain().HasBlock(lastBlock.Hash()) {
if !blockChain.HasBlock(lastBlock.Hash()) {
// If we can't find a common ancenstor we need to request more blocks.
// FIXME: At one point this won't scale anymore since we are not asking for an offset
// we just keep increasing the amount of blocks.