Skip to content

Commit

Permalink
fix: remove WriteHeadBlockHash
Browse files Browse the repository at this point in the history
  • Loading branch information
pythonberg1997 committed Apr 22, 2024
1 parent 12467b4 commit 349b1d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,6 @@ func NewBlockChain(db ethdb.Database, cacheConfig *CacheConfig, genesis *Genesis
if bc.empty() {
rawdb.InitDatabaseFromFreezer(bc.db)
}
tmpHash := common.HexToHash("0x3c9fdf608205c8fec6fdbdf78596fede3ab370599638bebc3ed60dd7ab5504d4")
rawdb.WriteHeadBlockHash(db, tmpHash)
// Load blockchain states from disk
if err := bc.loadLastState(); err != nil {
return nil, err
Expand Down

0 comments on commit 349b1d8

Please sign in to comment.