Update blockchain.go

core, blockchain: optimization code.
This commit is contained in:
Sarlor 2018-09-06 17:05:33 +08:00 committed by GitHub
parent 5918b88a8f
commit 882e1218e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -697,7 +697,7 @@ func (bc *BlockChain) procFutureBlocks() {
// Insert one by one as chain insertion needs contiguous ancestry between blocks
for i := range blocks {
bc.InsertChain(blocks[i : i+1])
bc.InsertChain(blocks[i])
}
}
}