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,