File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/test/scala/fr/acinq/bitcoin/scalacompat Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1515 </snapshotRepository >
1616 </distributionManagement >
1717
18+ <repositories >
19+ <repository >
20+ <id >central-snapshots</id >
21+ <url >https://central.sonatype.com/repository/maven-snapshots</url >
22+ </repository >
23+ </repositories >
24+
1825 <properties >
1926 <project .build.outputTimestamp>2020-01-01T00:00:00Z</project .build.outputTimestamp>
2027 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
146153 <dependency >
147154 <groupId >fr.acinq.bitcoin</groupId >
148155 <artifactId >bitcoin-kmp-jvm</artifactId >
149- <version >0.29.0 </version >
156+ <version >0.30.0-SNAPSHOT </version >
150157 </dependency >
151158 <dependency >
152159 <groupId >fr.acinq.secp256k1</groupId >
153160 <artifactId >secp256k1-kmp-jni-jvm</artifactId >
154- <version >0.22.0 </version >
161+ <version >0.23.0-SNAPSHOT </version >
155162 </dependency >
156163 <dependency >
157164 <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