From 6c28fc1d56698c4549cdf420d665f3405540bc7a Mon Sep 17 00:00:00 2001 From: Michael Fedora Date: Mon, 5 Aug 2019 00:41:05 -0400 Subject: [PATCH] fix wrapped-node typings --- src/common/data/wrapped-node.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/data/wrapped-node.ts b/src/common/data/wrapped-node.ts index 7929557..d6f6514 100644 --- a/src/common/data/wrapped-node.ts +++ b/src/common/data/wrapped-node.ts @@ -3,7 +3,7 @@ import { ECPair } from 'bitcoinjs-lib'; import * as bip32 from 'bip32'; import { BIP32Interface } from 'bip32'; -export class WrappedNode { +export class WrappedNode implements BIP32Interface { private _node: BIP32Interface; private _keyPair: ECPair; @@ -43,6 +43,7 @@ export class WrappedNode { public get keyPair() { return this._keyPair; } public getAddress() { return getAddress(this._node); } + public get lowR() { return this._node.lowR; } public get chainCode() { return this._node.chainCode; } public get depth() { return this._node.depth; } public get index() { return this._node.index; }