mirror of https://github.com/schollz/croc.git
change placement of public key
This commit is contained in:
parent
e084186b5e
commit
c5b7ba0905
|
@ -104,8 +104,6 @@ func NewConnection(config *AppConfig) (*Connection, error) {
|
||||||
return c, err
|
return c, err
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Fprintf(os.Stderr, "Your public key: %s\n", c.keypair.Public)
|
|
||||||
|
|
||||||
if c.Debug {
|
if c.Debug {
|
||||||
SetLogLevel("debug")
|
SetLogLevel("debug")
|
||||||
} else {
|
} else {
|
||||||
|
@ -263,6 +261,7 @@ func (c *Connection) Run() error {
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
fmt.Fprintf(os.Stderr, "Your public key: %s\n", c.keypair.Public)
|
||||||
|
|
||||||
log.Debug("checking code validity")
|
log.Debug("checking code validity")
|
||||||
if len(c.Code) == 0 && !c.IsSender {
|
if len(c.Code) == 0 && !c.IsSender {
|
||||||
|
|
Loading…
Reference in New Issue