Fix errors for bitcoin core 0.17.0

This commit is contained in:
junderw 2018-11-15 18:52:16 +09:00
parent 489e96ca91
commit bd0be2f343
No known key found for this signature in database
GPG key ID: B256185D3A971908
2 changed files with 2 additions and 2 deletions

View file

@ -212,7 +212,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', function () {
regtestUtils.broadcast(tx.toHex(), function (err) {
assert.throws(function () {
if (err) throw err
}, /Error: 64: non-final/)
}, /Error: non-final \(code 64\)/)
done()
})

View file

@ -132,7 +132,7 @@ describe('bitcoinjs-lib (transactions w/ CSV)', function () {
regtestUtils.broadcast(tx.toHex(), function (err) {
assert.throws(function () {
if (err) throw err
}, /Error: 64: non-BIP68-final/)
}, /Error: non-BIP68-final \(code 64\)/)
done()
})