mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Merge #7184: Implement SequenceLocks functions for BIP 68
b043c4bfix sdaftuar's nits again (Alex Morcos)a51c79bBug fix to RPC test (Alex Morcos)da6ad5fAdd RPC test exercising BIP68 (mempool only) (Suhas Daftuar)c6c2f0fImplement SequenceLocks functions (Alex Morcos)
This commit is contained in:
@@ -1150,7 +1150,7 @@ bool TransactionSignatureChecker::CheckLockTime(const CScriptNum& nLockTime) con
|
||||
// prevent this condition. Alternatively we could test all
|
||||
// inputs, but testing just this input minimizes the data
|
||||
// required to prove correct CHECKLOCKTIMEVERIFY execution.
|
||||
if (txTo->vin[nIn].IsFinal())
|
||||
if (CTxIn::SEQUENCE_FINAL == txTo->vin[nIn].nSequence)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user