Skip to content

Commit

Permalink
Update docs examples
Browse files Browse the repository at this point in the history
  • Loading branch information
survived committed Dec 15, 2023
1 parent ed1c129 commit 2b3e123
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@
//! let master_key = slip10::derive_master_key::<Secp256k1>(seed)?;
//! let master_key_pair = slip10::ExtendedKeyPair::from(master_key);
//!
//! let derivation_path = [1 + slip10::H, 10];
//! let mut derived_key = master_key_pair;
//! for child_index in derivation_path {
//! derived_key = slip10::derive_child_key_pair(
//! &derived_key,
//! child_index,
//! );
//! }
//! let child_key_pair = slip10::derive_child_key_pair_with_path(
//! &master_key_pair,
//! [1 + slip10::H, 10],
//! );
//! # Ok::<(), Box<dyn std::error::Error>>(())
//! ```
//!
Expand Down

0 comments on commit 2b3e123

Please sign in to comment.