diff --git a/libwallet/src/vault.rs b/libwallet/src/vault.rs index f0c7a73..a0ba68a 100644 --- a/libwallet/src/vault.rs +++ b/libwallet/src/vault.rs @@ -60,6 +60,10 @@ mod utils { where Self: Sized, { + if path.is_empty() { + return self.sub.derive("").into(); + } + match &path[..2] { #[cfg(feature = "substrate")] "//" => self.sub.derive(path).into(),