Skip to content

Commit 8dbe0fa

Browse files
authored
Merge pull request #121 from joeabbey-anchor/fix-account-create-algos
Use the sigAlgo the user requested
2 parents ff9081f + 8ecdf80 commit 8dbe0fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/accounts/create/create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ var Cmd = &cobra.Command{
6868
}
6969

7070
for i, publicKeyHex := range conf.Keys {
71-
publicKey := cli.MustDecodePublicKeyHex(cli.DefaultSigAlgo, publicKeyHex)
71+
publicKey := cli.MustDecodePublicKeyHex(sigAlgo, publicKeyHex)
7272
accountKeys[i] = &flow.AccountKey{
7373
PublicKey: publicKey,
7474
SigAlgo: sigAlgo,

0 commit comments

Comments
 (0)