From bdd432388a036ffa0693159bb8a58adee2501638 Mon Sep 17 00:00:00 2001 From: JP Richardson Date: Tue, 22 Mar 2016 21:55:50 -0500 Subject: [PATCH] standard tidy --- lib/hdkey.js | 4 ++-- test/hdkey.test.js | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/hdkey.js b/lib/hdkey.js index e26c5a5..670386c 100644 --- a/lib/hdkey.js +++ b/lib/hdkey.js @@ -22,8 +22,8 @@ function HDKey (versions) { } Object.defineProperty(HDKey.prototype, 'fingerprint', { get: function () { return this._fingerprint } }) -Object.defineProperty(HDKey.prototype, 'identifier', {get: function () { return this._identifier } }) -Object.defineProperty(HDKey.prototype, 'pubKeyHash', {get: function () { return this.identifier }}) +Object.defineProperty(HDKey.prototype, 'identifier', { get: function () { return this._identifier } }) +Object.defineProperty(HDKey.prototype, 'pubKeyHash', { get: function () { return this.identifier } }) Object.defineProperty(HDKey.prototype, 'privateKey', { get: function () { diff --git a/test/hdkey.test.js b/test/hdkey.test.js index 96ce627..3d2c5fa 100644 --- a/test/hdkey.test.js +++ b/test/hdkey.test.js @@ -119,7 +119,6 @@ describe('hdkey', function () { var expected = 'xpub6JdKdVJtdx6sC3nh87pDvnGhotXuU5Kz6Qy7Piy84vUAwWSYShsUGULE8u6gCivTHgz7cCKJHiXaaMeieB4YnoFVAsNgHHKXJ2mN6jCMbH1' assert.equal(derivedHDKey.publicExtendedKey, expected) - }) })