Skip to content

Commit e0f1620

Browse files
committed
Fix error message for Bitcoin Core v22.0
1 parent ee9c763 commit e0f1620

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/integration/cltv.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
250250
await regtestUtils.broadcast(tx.toHex()).catch(err => {
251251
assert.throws(() => {
252252
if (err) throw err;
253-
}, /Error: non-final \(code 64\)/);
253+
}, /Error: non-final/);
254254
});
255255
},
256256
);

test/integration/csv.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ describe('bitcoinjs-lib (transactions w/ CSV)', () => {
219219
await regtestUtils.broadcast(tx.toHex()).catch(err => {
220220
assert.throws(() => {
221221
if (err) throw err;
222-
}, /Error: non-BIP68-final \(code 64\)/);
222+
}, /Error: non-BIP68-final/);
223223
});
224224
},
225225
);

0 commit comments

Comments
 (0)