From 6adbaabc650b2478193f7d087d2cc4ae96db84c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 29 Jul 2015 13:20:54 +0300 Subject: eth, eth/downloader: don't report stall if fetcher filled the block --- eth/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eth/sync.go') 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()) } -- cgit v1.2.3