Fix error message for Bitcoin Core v22.0
This commit is contained in:
parent
ee9c76376f
commit
e0f1620ee3
2 changed files with 2 additions and 2 deletions
|
@ -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/);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
|
|
@ -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/);
|
||||
});
|
||||
},
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue