minor remove dead code

This commit is contained in:
Abdullah 2025-11-17 00:25:44 -05:00
parent 5e6f7374de
commit ddf0e23beb
No known key found for this signature in database
GPG key ID: 09948AF02DCEC6C4

View file

@ -71,9 +71,6 @@ func ParseDerivationPath(path string) (DerivationPath, error) {
// Handle absolute or relative paths
components := strings.Split(path, "/")
switch {
case len(components) == 0:
return nil, errors.New("empty derivation path")
case strings.TrimSpace(components[0]) == "":
return nil, errors.New("ambiguous path: use 'm/' prefix for absolute paths, or no leading '/' for relative ones")