Print warning when no genesis file found

This commit is contained in:
Ethan Frey 2017-02-16 18:03:01 +01:00
parent 948397e3c9
commit 0cf7ce2f23
1 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@ package commands
import (
"errors"
"fmt"
"os"
"path"
@ -83,6 +84,8 @@ func cmdStart(c *cli.Context) error {
if err != nil {
return errors.New(cmn.Fmt("%+v", err))
}
} else {
fmt.Printf("No genesis file at %s, skipping...\n", genesisFile)
}
if c.Bool("in-proc") {