From a3b2149c1fbdb3f05636b2697d2573e30146f62b Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 23 Feb 2016 04:04:42 -0800 Subject: [PATCH] minor. --- lib/bcoin/keypair.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/keypair.js b/lib/bcoin/keypair.js index d929d0e2..6267ca3b 100644 --- a/lib/bcoin/keypair.js +++ b/lib/bcoin/keypair.js @@ -76,7 +76,7 @@ KeyPair.prototype.getPrivateKey = function getPrivateKey(enc) { var privateKey; if (!this._privateKey) { - privateKey = this.key.getPrivate(); + privateKey = this.privatePoint; if (!privateKey) return;