diff --git a/src/hdnode.js b/src/hdnode.js index 6e4cbb5..27228e9 100644 --- a/src/hdnode.js +++ b/src/hdnode.js @@ -314,7 +314,7 @@ HDNode.prototype.derivePath = function (path) { index = parseInt(indexStr, 10) return prevHd.derive(index) } - }) + }, this) } HDNode.prototype.toString = HDNode.prototype.toBase58