Skip to content

Commit 676e769

Browse files
committed
Use bitcoin-kmp 0.30.0
1 parent fb17e53 commit 676e769

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@
146146
<dependency>
147147
<groupId>fr.acinq.bitcoin</groupId>
148148
<artifactId>bitcoin-kmp-jvm</artifactId>
149-
<version>0.29.0</version>
149+
<version>0.30.0</version>
150150
</dependency>
151151
<dependency>
152152
<groupId>fr.acinq.secp256k1</groupId>
153153
<artifactId>secp256k1-kmp-jni-jvm</artifactId>
154-
<version>0.22.0</version>
154+
<version>0.23.0</version>
155155
</dependency>
156156
<dependency>
157157
<groupId>org.scodec</groupId>

src/test/scala/fr/acinq/bitcoin/scalacompat/Secp256k1Spec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import fr.acinq.secp256k1.Secp256k1
55
import org.scalatest.FunSuite
66
import scodec.bits.ByteVector
77

8-
import scala.util.{Random, Try}
8+
import scala.util.Random
99

1010
/**
1111
* run this test with -Djava.library.path=$PATH_LIBSECP256K1_DIR where $PATH_LIBSECP256K1_DIR is a directory that
@@ -33,7 +33,7 @@ class Secp256k1Spec extends FunSuite {
3333
Random.nextBytes(priv)
3434
Random.nextBytes(data)
3535
val sig1: ByteVector = Crypto.sign(ByteVector.view(data), PrivateKey(ByteVector.view(priv)))
36-
val sig2: ByteVector = ByteVector.view(nativeSecp256k1.get.sign(data, priv))
36+
val sig2: ByteVector = ByteVector.view(nativeSecp256k1.get.sign(data, priv, null))
3737
assert(sig1 == sig2)
3838
}
3939
}

0 commit comments

Comments
 (0)