diff --git a/core/blockchain.go b/core/blockchain.go index 97c1475d11..33f6b4d1e2 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -236,7 +236,7 @@ func (bc *BlockChain) loadLastState() error { bc.hc.SetCurrentHeader(currentHeader) // Restore the last known head fast block - bc.currentFastBlock = bc.currentBlock + bc.currentFastBlock.Store(currentBlock) if head := GetHeadFastBlockHash(bc.db); head != (common.Hash{}) { if block := bc.GetBlockByHash(head); block != nil { bc.currentFastBlock.Store(block)