fix in pubkey deserialization code.
This commit is contained in:
parent
740a0fcb7d
commit
26e5914be2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ BIP32key.prototype.deserialize = function(str) {
|
|||
fingerprint: bytes.slice(5,9),
|
||||
i: util.bytesToNum(bytes.slice(9,13).reverse()),
|
||||
chaincode: bytes.slice(13,45),
|
||||
key: new key(type == 'priv' ? bytes.slice(46,78).concat([1]) : bytes.slice(45,78))
|
||||
key: type == 'priv' ? new key(bytes.slice(46,78).concat([1])) : bytes.slice(45,78)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue