Skip to content

Commit

Permalink
Merge branch 'sachin--adaptor-signatures' into sachin--add-key-only-t…
Browse files Browse the repository at this point in the history
…aproot-script-creation
  • Loading branch information
SachinMeier committed Feb 24, 2023
2 parents 45ea0b3 + 289e49c commit 5bed706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/secp256k1/schnorr.ex
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ defmodule Bitcoinex.Secp256k1.Schnorr do
"""
@spec encrypted_sign(PrivateKey.t(), non_neg_integer(), non_neg_integer(), Point.t()) ::
{:ok, Signature.t(), boolean}
def encrypted_sign(sk = %PrivateKey{}, z, aux,tweak_point = %Point{}) do
def encrypted_sign(sk = %PrivateKey{}, z, aux, tweak_point = %Point{}) do
z_bytes = Utils.int_to_big(z, 32)
aux_bytes = Utils.int_to_big(aux, 32)
d_point = PrivateKey.to_point(sk)
Expand Down

0 comments on commit 5bed706

Please sign in to comment.