diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/cashier/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cashier/main.go b/cmd/cashier/main.go index b25e36a..26c6cbf 100644 --- a/cmd/cashier/main.go +++ b/cmd/cashier/main.go @@ -36,7 +36,7 @@ func main() { fmt.Println("Error launching web browser. Go to the link in your web browser") } fmt.Println("Generating new key pair") - priv, pub, err := client.GenerateKey(c.Keytype, c.Keysize) + priv, pub, err := client.GenerateKey(client.KeyType(c.Keytype), client.KeySize(c.Keysize)) if err != nil { log.Fatalln("Error generating key pair: ", err) } |