mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2024-11-19 09:52:09 +01:00
added .map to have SipHashKey Constructor
This commit is contained in:
parent
0e97ff6ed4
commit
5ccc025f2e
@ -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) =>
|
||||
|
Loading…
Reference in New Issue
Block a user