even weirder fix
This commit is contained in:
parent
7b3c6d5bcd
commit
a2b8bb0f51
File diff suppressed because one or more lines are too long
|
@ -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…
Reference in New Issue