aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-07-29 18:20:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-07-29 20:39:08 +0800
commit6adbaabc650b2478193f7d087d2cc4ae96db84c6 (patch)
tree4038ca746cc2d8eac1db5f1127b82eb12c2bc070 /eth/sync.go
parentcc27be9d446764beb45ee5a771a7d23cba5c5e9c (diff)
downloaddexon-6adbaabc650b2478193f7d087d2cc4ae96db84c6.tar.gz
dexon-6adbaabc650b2478193f7d087d2cc4ae96db84c6.tar.zst
dexon-6adbaabc650b2478193f7d087d2cc4ae96db84c6.zip
eth, eth/downloader: don't report stall if fetcher filled the block
Diffstat (limited to 'eth/sync.go')
-rw-r--r--eth/sync.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/sync.go b/eth/sync.go
index a69bd6c69..b4dea4b0f 100644
--- a/eth/sync.go
+++ b/eth/sync.go
@@ -164,5 +164,5 @@ func (pm *ProtocolManager) synchronise(peer *peer) {
return
}
// Otherwise try to sync with the downloader
- pm.downloader.Synchronise(peer.id, peer.Head())
+ pm.downloader.Synchronise(peer.id, peer.Head(), peer.Td())
}