mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
eth/downloader: drop block
This commit is contained in:
parent
c930045834
commit
f8c27d7159
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue