Check arguments to constraints

This commit is contained in:
kngako
2024-08-06 00:19:55 +02:00
parent 9e287feb26
commit b064c0bcf0
3 changed files with 105 additions and 41 deletions

View File

@@ -200,10 +200,10 @@ public object NativeSecp256k1 : Secp256k1 {
)
}
override fun frostPublicKeyTweak(pk: ByteArray): ByteArray {
override fun frostPublicKeyTweak(xOnlyPublicKey: ByteArray): ByteArray {
return Secp256k1CFunctions.secp256k1_frost_pubkey_tweak(
Secp256k1Context.getContext(),
pk
xOnlyPublicKey
)
}