Browse Source

standard tidy

master
JP Richardson 9 years ago
parent
commit
bdd432388a
  1. 4
      lib/hdkey.js
  2. 1
      test/hdkey.test.js

4
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 () {

1
test/hdkey.test.js

@ -119,7 +119,6 @@ describe('hdkey', function () {
var expected = 'xpub6JdKdVJtdx6sC3nh87pDvnGhotXuU5Kz6Qy7Piy84vUAwWSYShsUGULE8u6gCivTHgz7cCKJHiXaaMeieB4YnoFVAsNgHHKXJ2mN6jCMbH1'
assert.equal(derivedHDKey.publicExtendedKey, expected)
})
})

Loading…
Cancel
Save