HDNode: missing space in assertion message

This commit is contained in:
Daniel Cousens 2014-07-15 17:42:04 +10:00
parent 490b34852d
commit d168bbda43

View file

@ -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')