aboutsummaryrefslogtreecommitdiffstats
path: root/eth/sync.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 21:11:43 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 21:11:43 +0800
commite7f4232b10034d291d1757b96e6277908618223c (patch)
tree15bcf62fd30afe6b90c6a8a803f9552139cf9380 /eth/sync.go
parentfa286688ab55ba5df96303c6c456ea7b7688ba2d (diff)
parent6adbaabc650b2478193f7d087d2cc4ae96db84c6 (diff)
downloaddexon-e7f4232b10034d291d1757b96e6277908618223c.tar
dexon-e7f4232b10034d291d1757b96e6277908618223c.tar.gz
dexon-e7f4232b10034d291d1757b96e6277908618223c.tar.bz2
dexon-e7f4232b10034d291d1757b96e6277908618223c.tar.lz
dexon-e7f4232b10034d291d1757b96e6277908618223c.tar.xz
dexon-e7f4232b10034d291d1757b96e6277908618223c.tar.zst
dexon-e7f4232b10034d291d1757b96e6277908618223c.zip
Merge pull request #1544 from karalabe/fix-stall-detector
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())
}