standard formatting fixes

This commit is contained in:
Daniel Cousens 2015-03-19 13:35:25 +11:00
parent 4c8b0f38ea
commit e106d02731
3 changed files with 3 additions and 3 deletions

View file

@ -47,7 +47,7 @@ function ECPair (d, Q, options) {
}
Object.defineProperty(ECPair.prototype, 'Q', {
get: function() {
get: function () {
if (!this.__Q && this.d) {
this.__Q = ECPair.curve.G.multiply(this.d)
}

View file

@ -99,7 +99,7 @@ HDNode.fromBase58 = function (string, network) {
var chainCode = buffer.slice(13, 45)
var data, keyPair
// 33 bytes: private key data (0x00 + k)
// 33 bytes: private key data (0x00 + k)
if (version === network.bip32.private) {
assert.strictEqual(buffer.readUInt8(45), 0x00, 'Invalid private key')
data = buffer.slice(46, 78)

View file

@ -1,4 +1,4 @@
/* global describe, it */
/* global describe, it, beforeEach */
/* eslint-disable no-new */
var assert = require('assert')