Skip to content

Commit 485dbe4

Browse files
authored
Merge pull request #1826 from bitcoinjs/junderw-patch-1
Fix comment on OP_CLTV integration test
2 parents 548d1be + 13324eb commit 485dbe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/cltv.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
8181
const unspent = await regtestUtils.faucet(address!, 1e5);
8282
const tx = new bitcoin.Transaction();
8383
tx.locktime = lockTime;
84-
// Note: nSequence MUST be <= 0xfffffffe otherwise LockTime is ignored, and is immediately spendable.
84+
// Note: nSequence MUST be <= 0xfffffffe otherwise OP_CHECKLOCKTIMEVERIFY will fail.
8585
tx.addInput(idToHash(unspent.txId), unspent.vout, 0xfffffffe);
8686
tx.addOutput(toOutputScript(regtestUtils.RANDOM_ADDRESS), 7e4);
8787

0 commit comments

Comments
 (0)