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