Skip to content

Commit b27e050

Browse files
committed
Use re-exported secp256k1 since recovery is now a default feature
1 parent e4e7ddd commit b27e050

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

subprojects/gdk_rust/gdk_electrum/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ ureq = { version = "1.5.5", features = ["json", "socks-proxy"] }
2424
block-modes = "0.8.0"
2525
aes = "0.7.0"
2626
tempdir = "0.3.7"
27-
secp256k1 = { version = "0.20.0", features = [ "recovery", "rand"] }
2827
lazy_static = "1.4.0"
2928
# We need to pin half (transitive dep from serde_cbor) to stay compatible with Rust 1.49.0
3029
half = "~1.7"
3130

32-
# remember to update secp256k1 deps if increasing this one, unfortunately we can't use the rexported one from bitcoin because we need recovery feature
3331
bitcoin = { version = "0.27", features = [ "use-serde", "rand" ] }
3432
#elements = { version = "0.18", features = ["serde-feature"] }
3533
elements = { git = "https://github.com/ElementsProject/rust-elements", rev = "53d5729f8cdc3623f9f110edba86aeaa9059af5b", features = ["serde-feature"] }

subprojects/gdk_rust/gdk_electrum/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use crate::interface::{ElectrumUrl, WalletCtx};
2424
use crate::store::*;
2525

2626
use bitcoin::hashes::hex::{FromHex, ToHex};
27-
use bitcoin::secp256k1::{Secp256k1, SecretKey};
27+
use bitcoin::secp256k1::{self, Secp256k1, SecretKey};
2828
use bitcoin::util::bip32::{DerivationPath, ExtendedPrivKey, ExtendedPubKey};
2929

3030
use electrum_client::GetHistoryRes;

0 commit comments

Comments
 (0)