added .map to have SipHashKey Constructor

This commit is contained in:
cwaldron97 2019-06-21 17:08:33 -05:00
parent 0e97ff6ed4
commit 5ccc025f2e

View File

@ -240,7 +240,7 @@ class GCSTest extends BitcoinSUnitTest {
}
def genKey: Gen[SipHashKey] =
Gen.listOfN(16, NumberGenerator.byte).map(ByteVector(_))
Gen.listOfN(16, NumberGenerator.byte).map(ByteVector(_).map(SipHashKey(_)))
forAll(genPM, genItems, genKey) {
case ((p, m), items, k) =>