Fix errors for bitcoin core 0.17.0
This commit is contained in:
parent
489e96ca91
commit
bd0be2f343
2 changed files with 2 additions and 2 deletions
|
@ -212,7 +212,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', function () {
|
||||||
regtestUtils.broadcast(tx.toHex(), function (err) {
|
regtestUtils.broadcast(tx.toHex(), function (err) {
|
||||||
assert.throws(function () {
|
assert.throws(function () {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
}, /Error: 64: non-final/)
|
}, /Error: non-final \(code 64\)/)
|
||||||
|
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
|
@ -132,7 +132,7 @@ describe('bitcoinjs-lib (transactions w/ CSV)', function () {
|
||||||
regtestUtils.broadcast(tx.toHex(), function (err) {
|
regtestUtils.broadcast(tx.toHex(), function (err) {
|
||||||
assert.throws(function () {
|
assert.throws(function () {
|
||||||
if (err) throw err
|
if (err) throw err
|
||||||
}, /Error: 64: non-BIP68-final/)
|
}, /Error: non-BIP68-final \(code 64\)/)
|
||||||
|
|
||||||
done()
|
done()
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue