Transaction: remove untestable assert
Also changes the fromBuffer sanity test to use a clearer message that is taken from the fixtures.
This commit is contained in:
parent
1b1b550bd6
commit
4850570955
2 changed files with 2 additions and 3 deletions
test
|
@ -36,7 +36,7 @@ describe('Transaction', function() {
|
|||
it('throws on ' + f.exception, function() {
|
||||
assert.throws(function() {
|
||||
Transaction.fromHex(f.hex)
|
||||
}, /Invalid transaction/)
|
||||
}, new RegExp(f.exception))
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue