diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-01 16:21:43 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-01 16:21:43 +0800 |
commit | 5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b (patch) | |
tree | e973b3c2632d2d2a22d9c2949340f179faae152d /peer.go | |
parent | 5a2d62e4d9e551f16f094216da70b7a6f5d2bf00 (diff) | |
download | go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar.gz go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar.bz2 go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar.lz go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar.xz go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.tar.zst go-tangerine-5ede1224e48fd82961bd4a0b2ec1a3eda0b6d99b.zip |
minor rlp things
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |