This commit is contained in:
Christopher Jeffrey 2016-05-16 18:39:57 -07:00
parent eab9834103
commit 43f0ee2207
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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;