From 8ecdf802d3b1930a05e0178ccba38a94d0dc097f Mon Sep 17 00:00:00 2001 From: Joe Abbey Date: Thu, 25 Mar 2021 21:04:41 +0000 Subject: [PATCH] Use the sigAlgo the user requested --- flow/accounts/create/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow/accounts/create/create.go b/flow/accounts/create/create.go index a94f7efe5..63a4b95f8 100644 --- a/flow/accounts/create/create.go +++ b/flow/accounts/create/create.go @@ -68,7 +68,7 @@ var Cmd = &cobra.Command{ } for i, publicKeyHex := range conf.Keys { - publicKey := cli.MustDecodePublicKeyHex(cli.DefaultSigAlgo, publicKeyHex) + publicKey := cli.MustDecodePublicKeyHex(sigAlgo, publicKeyHex) accountKeys[i] = &flow.AccountKey{ PublicKey: publicKey, SigAlgo: sigAlgo,