Merge pull request #462 from ngtuna/dl-fix

hotfix downloading
This commit is contained in:
Tuna 2019-03-11 18:37:14 +07:00 committed by GitHub
commit 5ca030d513
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1077,7 +1077,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks) (int, []interface{}, []*ty
for i, block := range chain {
headers[i] = block.Header()
seals[i] = true
seals[i] = false
bc.downloadingBlock.Add(block.Hash(), true)
}
abort, results := bc.engine.VerifyHeaders(bc, headers, seals)