cmd: fix log contexts (#21077)

This commit is contained in:
Satpal
2020-05-13 16:34:24 +01:00
committed by GitHub
parent 46698d7931
commit 677724af0c
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ func (w *wizard) importGenesis() {
// Parse the genesis file and inject it successful
var genesis core.Genesis
if err := json.NewDecoder(reader).Decode(&genesis); err != nil {
log.Error("Invalid genesis spec: %v", err)
log.Error("Invalid genesis spec", "err", err)
return
}
log.Info("Imported genesis block")