block: add byteLength

This commit is contained in:
Daniel Cousens 2017-04-18 11:56:35 +10:00 committed by Daniel Cousens
parent e205b99180
commit f3d0dddc5a
2 changed files with 21 additions and 7 deletions

View file

@ -58,6 +58,7 @@ describe('Block', function () {
})
it('exports ' + f.description, function () {
assert.strictEqual(block.toHex(true), f.hex.slice(0, 160))
assert.strictEqual(block.toHex(), f.hex)
})
})