diff --git a/signer/Cargo.toml b/signer/Cargo.toml index eb0ed15..aa60a17 100644 --- a/signer/Cargo.toml +++ b/signer/Cargo.toml @@ -11,7 +11,7 @@ vls-protocol-signer = { git = "https://gitlab.com/lightning-signer/validating-li anyhow = {version = "1", features = ["backtrace"]} log = "0.4" -[patch.crates-io] -# Low-memory version of secp256k1 with static precomputation -secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" } +# [patch.crates-io] +# # Low-memory version of secp256k1 with static precomputation +# secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" } diff --git a/sphinx-key/Cargo.toml b/sphinx-key/Cargo.toml index 567a5b3..29a2dc6 100644 --- a/sphinx-key/Cargo.toml +++ b/sphinx-key/Cargo.toml @@ -32,6 +32,10 @@ serde_urlencoded = "0.7.1" serde = { version = "1.0.137", default-features = false } serde_json = { version = "1.0.81", default-features = false } +[patch.crates-io] +# Low-memory version of secp256k1 with static precomputation +secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71", feature = ["lowmemory"] } + [build-dependencies] embuild = "0.29" anyhow = "1"