diff options
author | Felix Lange <fjl@twurst.com> | 2015-11-18 19:29:17 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-11-19 21:18:34 +0800 |
commit | db52a6a0ffced52477eec45ada8f3233415c3d18 (patch) | |
tree | 29972dfba70f070ebbda1b82dfb88a9595fa25b3 /eth | |
parent | 900da3d800ad299c22ecb5d14f477600931d70b6 (diff) | |
download | dexon-db52a6a0ffced52477eec45ada8f3233415c3d18.tar.gz dexon-db52a6a0ffced52477eec45ada8f3233415c3d18.tar.zst dexon-db52a6a0ffced52477eec45ada8f3233415c3d18.zip |
eth: remove workaround for asynchronous processing in the downloader
Diffstat (limited to 'eth')
-rw-r--r-- | eth/sync.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/eth/sync.go b/eth/sync.go index bbf2abc04..dd8aef8e4 100644 --- a/eth/sync.go +++ b/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") |