From 244673b04c4c5defc7a2b7727bffe0a10402a0cf Mon Sep 17 00:00:00 2001 From: Salomon BRYS Date: Thu, 2 Jul 2020 18:07:28 +0200 Subject: [PATCH] Reset version number --- build.gradle.kts | 2 +- src/commonMain/kotlin/fr/acinq/secp256k1/Secp256k1.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 8844b7b..540d3d1 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -121,7 +121,7 @@ allprojects { repositories { maven { name = "bintray" - setUrl("https://api.bintray.com/maven/acinq/$btRepo/${project.name}/;publish=0") + setUrl("https://api.bintray.com/maven/acinq/$btRepo/${rootProject.name}/;publish=0") credentials { username = bintrayUsername password = bintrayApiKey diff --git a/src/commonMain/kotlin/fr/acinq/secp256k1/Secp256k1.kt b/src/commonMain/kotlin/fr/acinq/secp256k1/Secp256k1.kt index 0a312c2..19df290 100644 --- a/src/commonMain/kotlin/fr/acinq/secp256k1/Secp256k1.kt +++ b/src/commonMain/kotlin/fr/acinq/secp256k1/Secp256k1.kt @@ -60,7 +60,7 @@ public interface Secp256k1 { pub1[0] = if (pubkey.last() % 2 == 0) 2.toByte() else 3.toByte() pub1 } - else -> throw RuntimeException("invalid public key") + else -> throw Secp256k1Exception("invalid public key") } }