Skip to content

Commit

Permalink
fixup! Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sstone committed Apr 17, 2024
1 parent 3404542 commit a1ddfde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public object NativeSecp256k1 : Secp256k1 {
}

override fun musigPartialSign(secnonce: ByteArray, privkey: ByteArray, keyaggCache: ByteArray, session: ByteArray): ByteArray {
require(musigNoncevalidate(secnonce, pubkeyCreate(privkey)))
require(musigNonceValidate(secnonce, pubkeyCreate(privkey)))
return Secp256k1CFunctions.secp256k1_musig_partial_sign(Secp256k1Context.getContext(), secnonce, privkey, keyaggCache, session)
}

Expand Down

0 comments on commit a1ddfde

Please sign in to comment.