eth: remove workaround for asynchronous processing in the downloader

release/1.3.2^2
Felix Lange 9 years ago
parent 900da3d800
commit db52a6a0ff
  1. 4
      eth/sync.go

@ -175,10 +175,6 @@ func (pm *ProtocolManager) synchronise(peer *peer) {
}
// If fast sync was enabled, and we synced up, disable it
if pm.fastSync {
// Wait until all pending imports finish processing
for pm.downloader.Synchronising() {
time.Sleep(100 * time.Millisecond)
}
// Disable fast sync if we indeed have something in our chain
if pm.blockchain.CurrentBlock().NumberU64() > 0 {
glog.V(logger.Info).Infof("fast sync complete, auto disabling")

Loading…
Cancel
Save