From c5b7ba09058bc28d7052f2d36b44badb3f4753d8 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Sun, 24 Jun 2018 19:29:25 -0700 Subject: [PATCH] change placement of public key --- connect.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/connect.go b/connect.go index 8458467..29f5b67 100644 --- a/connect.go +++ b/connect.go @@ -104,8 +104,6 @@ func NewConnection(config *AppConfig) (*Connection, error) { return c, err } - fmt.Fprintf(os.Stderr, "Your public key: %s\n", c.keypair.Public) - if c.Debug { SetLogLevel("debug") } 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") if len(c.Code) == 0 && !c.IsSender {