diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2017-01-09 17:21:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-09 17:21:11 +0000 |
commit | 3e0a562f6b59075c9d7718b3155501e0be491767 (patch) | |
tree | b82061b8a2af25fbc13f6f9792d42ed7a2ed9d54 /cmd | |
parent | 6dfe350cb5eefde3a99374d14c083d1906717ddd (diff) | |
parent | fc190076448ebf1710910a89b584857cbc89d159 (diff) |
Merge pull request #39 from nsheridan/opts2
Simplify key generation
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) } |