1
0
mirror of https://github.com/ACINQ/eclair.git synced 2024-11-19 01:43:22 +01:00

fix conversion tests

This commit is contained in:
sstone 2015-09-08 19:36:57 +02:00
parent 8eb7378db5
commit 2d66f11236
2 changed files with 18 additions and 2 deletions

View File

@ -34,7 +34,7 @@ class ConversionSpec extends FunSuite {
val protosig: signature = sig
val sig1: BinaryData = protosig
assert(Crypto.verifySignature(data, sig1, pub))
assert(sig1 === sig)
assert(sig1.take(32) === sig.take(32))
}
}
}

18
pom.xml
View File

@ -95,6 +95,22 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.17</version>
<configuration>
<useFile>false</useFile>
<disableXmlReport>false</disableXmlReport>
<!-- If you have classpath issue like NoDefClassError,... -->
<!-- useManifestOnlyJar>false</useManifestOnlyJar -->
<includes>
<include>**/*Spec.*</include>
<include>**/*Test.*</include>
<include>**/*Suite.*</include>
</includes>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
@ -138,7 +154,7 @@
<dependency>
<groupId>fr.acinq</groupId>
<artifactId>bitcoin-lib_${scala.version.short}</artifactId>
<version>0.9.4-SNAPSHOT</version>
<version>0.9.4</version>
</dependency>
<dependency>
<groupId>com.trueaccord.scalapb</groupId>