Less confusing debug logging

This commit is contained in:
Zahary Karadjov 2020-01-16 09:40:03 +02:00 committed by zah
parent 9daa10ee6d
commit 63b98f0334
1 changed files with 2 additions and 1 deletions

View File

@ -91,7 +91,8 @@ proc getStateFromSnapshot(conf: BeaconNodeConf, state: var BeaconState): bool =
dataDir = conf.dataDir.string, snapshot = snapshotPath
quit 1
else:
debug "No genesis file in data directory", genesisPath
debug "No previous genesis state. Importing snapshot",
genesisPath, dataDir = conf.dataDir.string
writeGenesisFile = true
genesisPath = snapshotPath
else: