Skip to content

Commit

Permalink
Merge pull request #121 from joeabbey-anchor/fix-account-create-algos
Browse files Browse the repository at this point in the history
Use the sigAlgo the user requested
  • Loading branch information
psiemens authored Mar 25, 2021
2 parents ff9081f + 8ecdf80 commit 8dbe0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/accounts/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8dbe0fa

Please sign in to comment.