minor.
This commit is contained in:
parent
eab9834103
commit
43f0ee2207
@ -382,7 +382,7 @@ HD.parsePath = function parsePath(path, max) {
|
||||
if (!/^\d+$/.test(index))
|
||||
throw new Error('Non-number path index.');
|
||||
|
||||
index = +index;
|
||||
index = parseInt(index, 10);
|
||||
|
||||
if (hardened)
|
||||
index += constants.hd.HARDENED;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user