diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-30 01:55:04 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-30 01:55:04 +0800 |
commit | f8c27d7159c3f93f0ca05ab1df86cca98d86e52e (patch) | |
tree | 0a2a3b9b1d285b2367d3970e344dff454a6d0df3 /eth/downloader | |
parent | c9300458344e9024b4d18171f87b7e0edb3b6859 (diff) | |
download | dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar.gz dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar.bz2 dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar.lz dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar.xz dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.tar.zst dexon-f8c27d7159c3f93f0ca05ab1df86cca98d86e52e.zip |
eth/downloader: drop block
Diffstat (limited to 'eth/downloader')
-rw-r--r-- | eth/downloader/downloader.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index 81808b4f8..4cd927fd5 100644 --- a/eth/downloader/downloader.go +++ b/eth/downloader/downloader.go @@ -439,7 +439,7 @@ func (d *Downloader) process(peer *peer) error { if err != nil && core.IsParentErr(err) { // Ignore the missing blocks. Handler should take care of anything that's missing. glog.V(logger.Debug).Infof("Ignored block with missing parent (%d)\n", i) - blocks = blocks[i:] + blocks = blocks[i+1:] continue } else if err != nil { |