Use lazy_static to initialize the Jubjub parameters, to avoid passing parameters around.

This commit is contained in:
Sean Bowe
2018-04-12 18:38:25 -06:00
parent cb8c9ebbce
commit 37f20fb90c
4 changed files with 30 additions and 36 deletions

View File

@@ -11,6 +11,7 @@ crate-type = ["staticlib"]
[dependencies]
libc = "0.2"
pairing = "0.14.1"
lazy_static = "1"
[dependencies.sapling-crypto]
git = "https://github.com/zcash-hackworks/sapling-crypto"