good morning!!!!

Skip to content
Snippets Groups Projects
Commit 7596b335 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #2801 from karalabe/dao-hardfork-importdrop

eth/downloader: return invalid chain (peer drop) on import fails
parents 2b7aff20 a691aa2a
No related branches found
No related tags found
No related merge requests found
......@@ -1859,7 +1859,7 @@ func (d *Downloader) processContent() error {
}
if err != nil {
glog.V(logger.Debug).Infof("Result #%d [%x…] processing failed: %v", results[index].Header.Number, results[index].Header.Hash().Bytes()[:4], err)
return err
return errInvalidChain
}
// Shift the results to the next batch
results = results[items:]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment