Skip to content

Commit

Permalink
Use the sigAlgo the user requested
Browse files Browse the repository at this point in the history
  • Loading branch information
joeabbey-anchor committed Mar 25, 2021
1 parent ff9081f commit 8ecdf80
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 8ecdf80

Please sign in to comment.