even weirder fix

This commit is contained in:
Manuel Araoz 2014-06-11 18:52:29 -03:00
parent 7b3c6d5bcd
commit a2b8bb0f51
2 changed files with 23 additions and 24 deletions

File diff suppressed because one or more lines are too long

View File

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