Skip to content

Commit

Permalink
chore: add secp256k1
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Storopoli <[email protected]>
  • Loading branch information
storopoli committed Dec 6, 2024
1 parent 0fd2bdf commit 95221ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions crates/key-derivation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ rust.unused_must_use = "deny"

[dependencies]
bitcoin = { workspace = true, features = ["rand-std"] }
secp256k1.workspace = true
thiserror.workspace = true
zeroize = { workspace = true, optional = true }

Expand Down
6 changes: 2 additions & 4 deletions crates/key-derivation/src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
//! - `m/56'/20'/100` for the message signing key
//! - `m/56'/20'/101` for the wallet transaction signing key
use bitcoin::{
bip32::{ChildNumber, DerivationPath, Xpriv, Xpub},
secp256k1::SECP256K1,
};
use bitcoin::bip32::{ChildNumber, DerivationPath, Xpriv, Xpub};
use secp256k1::SECP256K1;
#[cfg(feature = "zeroize")]
use zeroize::{Zeroize, ZeroizeOnDrop};

Expand Down

0 comments on commit 95221ae

Please sign in to comment.