mirror of
https://github.com/stakwork/sphinx-key.git
synced 2025-12-17 07:14:23 +01:00
patch not working
This commit is contained in:
@@ -32,11 +32,11 @@ serde_urlencoded = "0.7.1"
|
|||||||
serde = { version = "1.0.137", default-features = false }
|
serde = { version = "1.0.137", default-features = false }
|
||||||
serde_json = { version = "1.0.81", default-features = false }
|
serde_json = { version = "1.0.81", default-features = false }
|
||||||
|
|
||||||
secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71", features = ["lowmemory"] }
|
# secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71", features = ["lowmemory"] }
|
||||||
|
|
||||||
# [patch.crates-io]
|
[patch.crates-io]
|
||||||
# # Low-memory version of secp256k1 with static precomputation
|
# Low-memory version of secp256k1 with static precomputation
|
||||||
# secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" }
|
secp256k1 = { git = "https://github.com/devrandom/rust-secp256k1.git", rev = "4e745ebe7e4c9cd0a7e9c8d5c42e989522e52f71" }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
embuild = "0.29"
|
embuild = "0.29"
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
#![feature(once_cell)]
|
#![feature(once_cell)]
|
||||||
|
|
||||||
use secp256k1::{Message, PublicKey, Secp256k1, SecretKey};
|
// use secp256k1::{Message, PublicKey, Secp256k1, SecretKey};
|
||||||
// use sphinx_key_signer::lightning_signer::bitcoin::secp256k1::Secp256k1;
|
use sphinx_key_signer::lightning_signer::bitcoin::secp256k1::{
|
||||||
|
Message, PublicKey, Secp256k1, SecretKey,
|
||||||
|
};
|
||||||
|
|
||||||
fn main() -> anyhow::Result<()> {
|
fn main() -> anyhow::Result<()> {
|
||||||
esp_idf_sys::link_patches();
|
esp_idf_sys::link_patches();
|
||||||
|
|||||||
Reference in New Issue
Block a user