core/rawdb: Include accidentally omitted backoff

This commit is contained in:
Austin Roberts 2020-05-05 12:45:06 -05:00
parent 0633250a3b
commit cf9f22e4a3

View file

@ -277,7 +277,8 @@ func (f *freezer) freeze(db ethdb.KeyValueStore) {
hash := ReadHeadBlockHash(nfdb) hash := ReadHeadBlockHash(nfdb)
if hash == (common.Hash{}) { if hash == (common.Hash{}) {
log.Debug("Current full block hash unavailable") // new chain, empty database log.Debug("Current full block hash unavailable") // new chain, empty database
backoff = true
continue
} }
number := ReadHeaderNumber(nfdb, hash) number := ReadHeaderNumber(nfdb, hash)
switch { switch {