aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/downloader.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/downloader/downloader.go')
-rw-r--r--dex/downloader/downloader.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/dex/downloader/downloader.go b/dex/downloader/downloader.go
index e15844668..3d3a78e18 100644
--- a/dex/downloader/downloader.go
+++ b/dex/downloader/downloader.go
@@ -496,17 +496,6 @@ func (d *Downloader) syncWithPeer(p *peerConnection, hash common.Hash, number ui
}
d.verifierCache = dexCore.NewTSigVerifierCache(d.gov, 5)
-
- // warm up verifierCache
- if originHeader.Round > 0 {
- ok, err := d.verifierCache.Update(originHeader.Round - 1)
- if err != nil {
- return err
- }
- if !ok {
- return fmt.Errorf("can not update verifier cache")
- }
- }
}
// Initiate the sync using a concurrent header and content retrieval algorithm