Browse Source

even weirder fix

patch-2
Manuel Araoz 11 years ago
parent
commit
a2b8bb0f51
  1. 44
      browser/bundle.js
  2. 3
      lib/HierarchicalKey.js

44
browser/bundle.js

File diff suppressed because one or more lines are too long

3
lib/HierarchicalKey.js

@ -142,7 +142,6 @@ HierarchicalKey.prototype.buildExtendedPublicKey = function() {
throw new Error('Unknown version'); throw new Error('Unknown version');
} }
// Version
this.extendedPublicKey = Buffer.concat([ this.extendedPublicKey = Buffer.concat([
new Buffer([v >> 24]), new Buffer([v >> 24]),
new Buffer([(v >> 16) & 0xff]), new Buffer([(v >> 16) & 0xff]),
@ -157,7 +156,7 @@ HierarchicalKey.prototype.buildExtendedPublicKey = function() {
this.chainCode, this.chainCode,
this.eckey.public this.eckey.public
]); ]);
var x = this.extendedPublicKey.toString('hex'); console.log('a');
} }
HierarchicalKey.prototype.extendedPublicKeyString = function(format) { HierarchicalKey.prototype.extendedPublicKeyString = function(format) {

Loading…
Cancel
Save