eth, eth/downloader: don't report stall if fetcher filled the block

This commit is contained in:
Péter Szilágyi
2015-07-29 13:20:54 +03:00
parent cc27be9d44
commit 6adbaabc65
3 changed files with 65 additions and 43 deletions

View File

@@ -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())
}