block: add byteLength
This commit is contained in:
parent
e205b99180
commit
f3d0dddc5a
2 changed files with 21 additions and 7 deletions
test
|
@ -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)
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue