mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
log warning when init genesis state
This commit is contained in:
parent
f17df6db91
commit
473b7dd628
1 changed files with 1 additions and 1 deletions
|
|
@ -104,7 +104,7 @@ func (f *chainFreezer) Close() error {
|
|||
func (f *chainFreezer) readHeadNumber(db ethdb.KeyValueReader) uint64 {
|
||||
hash := ReadHeadBlockHash(db)
|
||||
if hash == (common.Hash{}) {
|
||||
log.Error("Head block is not reachable")
|
||||
log.Warn("Head block is not reachable")
|
||||
return 0
|
||||
}
|
||||
number, ok := ReadHeaderNumber(db, hash)
|
||||
|
|
|
|||
Loading…
Reference in a new issue