@@ -130,7 +130,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
130
130
const unspent = await regtestUtils . faucet ( address ! , 1e5 ) ;
131
131
const tx = new bitcoin . Transaction ( ) ;
132
132
tx . locktime = lockTime ;
133
- // Note: nSequence MUST be <= 0xfffffffe otherwise LockTime is ignored, and is immediately spendable .
133
+ // Note: nSequence MUST be <= 0xfffffffe otherwise OP_CHECKLOCKTIMEVERIFY will fail .
134
134
tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
135
135
tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 7e4 ) ;
136
136
@@ -181,7 +181,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
181
181
const unspent = await regtestUtils . faucet ( address ! , 2e5 ) ;
182
182
const tx = new bitcoin . Transaction ( ) ;
183
183
tx . locktime = lockTime ;
184
- // Note: nSequence MUST be <= 0xfffffffe otherwise LockTime is ignored, and is immediately spendable .
184
+ // Note: nSequence MUST be <= 0xfffffffe otherwise OP_CHECKLOCKTIMEVERIFY will fail .
185
185
tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
186
186
tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 8e4 ) ;
187
187
@@ -229,7 +229,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
229
229
const unspent = await regtestUtils . faucet ( address ! , 2e4 ) ;
230
230
const tx = new bitcoin . Transaction ( ) ;
231
231
tx . locktime = lockTime ;
232
- // Note: nSequence MUST be <= 0xfffffffe otherwise LockTime is ignored, and is immediately spendable .
232
+ // Note: nSequence MUST be <= 0xfffffffe otherwise OP_CHECKLOCKTIMEVERIFY will fail .
233
233
tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
234
234
tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 1e4 ) ;
235
235
0 commit comments