We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e6f737 commit ddf0e23Copy full SHA for ddf0e23
accounts/hd.go
@@ -71,9 +71,6 @@ func ParseDerivationPath(path string) (DerivationPath, error) {
71
// Handle absolute or relative paths
72
components := strings.Split(path, "/")
73
switch {
74
- case len(components) == 0:
75
- return nil, errors.New("empty derivation path")
76
-
77
case strings.TrimSpace(components[0]) == "":
78
return nil, errors.New("ambiguous path: use 'm/' prefix for absolute paths, or no leading '/' for relative ones")
79
0 commit comments