mirror of
https://github.com/sdiehl/wiwinwlh.git
synced 2024-10-26 20:57:32 +03:00
fix build deps for cryptography
This commit is contained in:
parent
acf41f079a
commit
c5c7fcb027
@ -25,7 +25,7 @@ merkleRoot hs = joinHash (merkleRoot left) (merkleRoot right)
|
||||
(left, right) = splitAt i hs
|
||||
i = until (\x -> x*2 >= length hs) (*2) 1
|
||||
|
||||
tree :: Digest SHA256
|
||||
tree :: Hash
|
||||
tree = merkleRoot $ map hash (["4", "8", "15", "16", "23", "42"] :: [B.ByteString])
|
||||
|
||||
file :: IO ()
|
||||
|
@ -13,7 +13,7 @@ library
|
||||
build-depends:
|
||||
base >= 4.6 && <4.10,
|
||||
bytestring >= 0.10 && <0.11,
|
||||
cereal -any,
|
||||
cereal >= 0.5 && <0.6,
|
||||
cryptonite >= 0.19 && <0.21
|
||||
|
||||
default-language: Haskell2010
|
||||
|
Loading…
Reference in New Issue
Block a user