Commit f8c27d71 authored by obscuren's avatar obscuren

eth/downloader: drop block

parent c9300458
...@@ -439,7 +439,7 @@ func (d *Downloader) process(peer *peer) error { ...@@ -439,7 +439,7 @@ func (d *Downloader) process(peer *peer) error {
if err != nil && core.IsParentErr(err) { if err != nil && core.IsParentErr(err) {
// Ignore the missing blocks. Handler should take care of anything that's missing. // 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) glog.V(logger.Debug).Infof("Ignored block with missing parent (%d)\n", i)
blocks = blocks[i:] blocks = blocks[i+1:]
continue continue
} else if err != nil { } else if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment