core/blockchain.go: remove block in futureBlocks

This commit is contained in:
ywzqwwt 2019-06-28 10:38:48 +08:00
parent 46753d6ec9
commit 7ce0540519

View file

@ -1199,6 +1199,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, verifySeals bool) (int, []
// Some other error occurred, abort
case err != nil:
bc.futureBlocks.Remove(block.Hash())
stats.ignored += len(it.chain)
bc.reportBlock(block, nil, err)
return it.index, events, coalescedLogs, err