@@ -130,7 +130,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
130130 const unspent = await regtestUtils . faucet ( address ! , 1e5 ) ;
131131 const tx = new bitcoin . Transaction ( ) ;
132132 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 .
134134 tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
135135 tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 7e4 ) ;
136136
@@ -181,7 +181,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
181181 const unspent = await regtestUtils . faucet ( address ! , 2e5 ) ;
182182 const tx = new bitcoin . Transaction ( ) ;
183183 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 .
185185 tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
186186 tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 8e4 ) ;
187187
@@ -229,7 +229,7 @@ describe('bitcoinjs-lib (transactions w/ CLTV)', () => {
229229 const unspent = await regtestUtils . faucet ( address ! , 2e4 ) ;
230230 const tx = new bitcoin . Transaction ( ) ;
231231 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 .
233233 tx . addInput ( idToHash ( unspent . txId ) , unspent . vout , 0xfffffffe ) ;
234234 tx . addOutput ( toOutputScript ( regtestUtils . RANDOM_ADDRESS ) , 1e4 ) ;
235235
0 commit comments