standard formatting fixes
This commit is contained in:
parent
4c8b0f38ea
commit
e106d02731
3 changed files with 3 additions and 3 deletions
src
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue