Skip to content

Commit

Permalink
fixup! feat: add HD derivation path support
Browse files Browse the repository at this point in the history
  • Loading branch information
karbyshev committed Apr 12, 2023
1 parent 3546ecc commit 13bb6c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/src/lib/wallet/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ impl Wallet {
})
.transpose()?;
let derivation_path = use_empty_derivation_path
.then(|| DerivationPath::empty())
.or_else(|| derivation_path)
.then(DerivationPath::empty)
.or(derivation_path)
.unwrap();
println!("Using path {}", derivation_path.clone());
println!("Using HD derivation path {}", derivation_path);
let (alias, key) = self.store.gen_key(
scheme,
alias,
Expand Down

0 comments on commit 13bb6c9

Please sign in to comment.