diff --git a/Cargo.toml b/Cargo.toml index 991f689..6ae64ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,4 @@ resolver = "2" [patch.crates-io] rocket = { git = "https://github.com/SergioBenitez/Rocket" } # Need to patch rocket dependency of `rocket_basicauth` until there is an official release. xtra = { git = "https://github.com/luckysori/xtra", rev = "19684c196f71ec762e595906cc88c6142b82092e" } # Need to patch xtra dependency until there is an official release as it contains useful PRs from us. +secp256k1-zkp = { git = "https://github.com/ElementsProject/rust-secp256k1-zkp" } # Latest master has crucial patches. diff --git a/cfd_protocol/Cargo.toml b/cfd_protocol/Cargo.toml index 69def5c..9046cf8 100644 --- a/cfd_protocol/Cargo.toml +++ b/cfd_protocol/Cargo.toml @@ -9,7 +9,7 @@ bdk = { version = "0.12", default-features = false } bit-vec = "0.6" itertools = "0.10" rand = "0.6" -secp256k1-zkp = { git = "https://github.com/ElementsProject/rust-secp256k1-zkp", features = ["bitcoin_hashes", "global-context", "serde"] } +secp256k1-zkp = { version = "0.4", features = ["bitcoin_hashes", "global-context", "serde"] } thiserror = "1" [dev-dependencies]