Browse Source

Fix errors for bitcoin core 0.17.0

v4
junderw 7 years ago
parent
commit
bd0be2f343
No known key found for this signature in database GPG Key ID: B256185D3A971908
  1. 2
      test/integration/cltv.js
  2. 2
      test/integration/csv.js

2
test/integration/cltv.js

@ -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()
}) })

2
test/integration/csv.js

@ -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…
Cancel
Save