From b6bc0e976d50a5df55e56165068c41ffaa49e07a Mon Sep 17 00:00:00 2001 From: Aleksandr Karbyshev Date: Tue, 23 Jan 2024 15:06:24 +0100 Subject: [PATCH] Add comment on path compliance check --- crates/sdk/src/wallet/derivation_path.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/sdk/src/wallet/derivation_path.rs b/crates/sdk/src/wallet/derivation_path.rs index 97e52bda17..3210450d26 100644 --- a/crates/sdk/src/wallet/derivation_path.rs +++ b/crates/sdk/src/wallet/derivation_path.rs @@ -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, } }