Skip to content

Commit

Permalink
Add comment on path compliance check
Browse files Browse the repository at this point in the history
  • Loading branch information
karbyshev committed Jan 23, 2024
1 parent 9d47d91 commit b6bc0e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sdk/src/wallet/derivation_path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ impl DerivationPath {
// all indices must be hardened
self.0.as_ref().iter().all(|idx| idx.is_hardened())
}
// no restriction for secp256k1 scheme
_ => true,
}
}
Expand Down

0 comments on commit b6bc0e9

Please sign in to comment.