File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/test/scala/fr/acinq/bitcoin/scalacompat Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import fr.acinq.secp256k1.Secp256k1
55import org .scalatest .FunSuite
66import 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 }
You can’t perform that action at this time.
0 commit comments