Reset version number

This commit is contained in:
Salomon BRYS
2020-07-02 18:07:28 +02:00
parent 3ee2635d93
commit 244673b04c
2 changed files with 2 additions and 2 deletions

View File

@@ -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")
}
}