We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 548d1be + 13324eb commit 485dbe4Copy full SHA for 485dbe4
test/integration/cltv.spec.ts
@@ -81,7 +81,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
81
const unspent = await regtestUtils.faucet(address!, 1e5);
82
const tx = new bitcoin.Transaction();
83
tx.locktime = lockTime;
84
- // Note: nSequence MUST be <= 0xfffffffe otherwise LockTime is ignored, and is immediately spendable.
+ // Note: nSequence MUST be <= 0xfffffffe otherwise OP_CHECKLOCKTIMEVERIFY will fail.
85
tx.addInput(idToHash(unspent.txId), unspent.vout, 0xfffffffe);
86
tx.addOutput(toOutputScript(regtestUtils.RANDOM_ADDRESS), 7e4);
87
0 commit comments