HDNode: missing space in assertion message
This commit is contained in:
parent
490b34852d
commit
d168bbda43
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ HDNode.HIGHEST_BIT = 0x80000000
|
||||||
HDNode.LENGTH = 78
|
HDNode.LENGTH = 78
|
||||||
|
|
||||||
HDNode.fromSeedBuffer = function(seed, network) {
|
HDNode.fromSeedBuffer = function(seed, network) {
|
||||||
assert(Buffer.isBuffer(seed), 'Expected Buffer, got' + seed)
|
assert(Buffer.isBuffer(seed), 'Expected Buffer, got ' + seed)
|
||||||
assert(seed.length >= 16, 'Seed should be at least 128 bits')
|
assert(seed.length >= 16, 'Seed should be at least 128 bits')
|
||||||
assert(seed.length <= 64, 'Seed should be at most 512 bits')
|
assert(seed.length <= 64, 'Seed should be at most 512 bits')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue