Merge pull request #1743 from bitcoinjs/fix/errorForNewRegtest
Fix error message for Bitcoin Core v22.0
This commit is contained in:
commit
f484edde01
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 => {
|
await regtestUtils.broadcast(tx.toHex()).catch(err => {
|
||||||
assert.throws(() => {
|
assert.throws(() => {
|
||||||
if (err) throw err;
|
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 => {
|
await regtestUtils.broadcast(tx.toHex()).catch(err => {
|
||||||
assert.throws(() => {
|
assert.throws(() => {
|
||||||
if (err) throw err;
|
if (err) throw err;
|
||||||
}, /Error: non-BIP68-final \(code 64\)/);
|
}, /Error: non-BIP68-final/);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue