mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 10:50:44 +00:00
Merge c008de5439 into dddbaa4bf3
This commit is contained in:
commit
782b0be6b4
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ func ImportChain(chain *core.BlockChain, fn string) error {
|
||||||
}
|
}
|
||||||
// Import the batch.
|
// Import the batch.
|
||||||
if checkInterrupt() {
|
if checkInterrupt() {
|
||||||
return errors.New("interrupted")
|
return ErrImportInterrupted
|
||||||
}
|
}
|
||||||
missing := missingBlocks(chain, blocks[:i])
|
missing := missingBlocks(chain, blocks[:i])
|
||||||
if len(missing) == 0 {
|
if len(missing) == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue