diff --git a/test/integration/cltv.spec.ts b/test/integration/cltv.spec.ts index 4b2eb66..c1a52de 100644 --- a/test/integration/cltv.spec.ts +++ b/test/integration/cltv.spec.ts @@ -250,7 +250,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => { await regtestUtils.broadcast(tx.toHex()).catch(err => { assert.throws(() => { if (err) throw err; - }, /Error: non-final \(code 64\)/); + }, /Error: non-final/); }); }, ); diff --git a/test/integration/csv.spec.ts b/test/integration/csv.spec.ts index 81b0943..9993d5c 100644 --- a/test/integration/csv.spec.ts +++ b/test/integration/csv.spec.ts @@ -219,7 +219,7 @@ describe('bitcoinjs-lib (transactions w/ CSV)', () => { await regtestUtils.broadcast(tx.toHex()).catch(err => { assert.throws(() => { if (err) throw err; - }, /Error: non-BIP68-final \(code 64\)/); + }, /Error: non-BIP68-final/); }); }, );