From a1ddfdeb6580bcbf252763ef1c9f14189aefdf86 Mon Sep 17 00:00:00 2001 From: sstone Date: Wed, 17 Apr 2024 17:35:05 +0200 Subject: [PATCH] fixup! Address review comments --- jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt b/jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt index ec12b29..bcbe03f 100644 --- a/jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt +++ b/jni/src/main/kotlin/fr/acinq/secp256k1/NativeSecp256k1.kt @@ -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) }