diff --git a/cli/client.go b/cli/client.go index 61848951a..092873e4f 100644 --- a/cli/client.go +++ b/cli/client.go @@ -299,6 +299,9 @@ var clientQueryAskCmd = &cli.Command{ if ret.ExitCode != 0 { return fmt.Errorf("call to GetPeerID was unsuccesful (exit code %d)", ret.ExitCode) } + if peer.ID(ret.Return) == peer.ID("SETME") { + return fmt.Errorf("the miner hasn't initialized yet") + } p, err := peer.IDFromBytes(ret.Return) if err != nil {