Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
manlikeHB committed Sep 29, 2024
1 parent 40dc81d commit 7f71108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/consensus/src/validation/script.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ fn script_flags(header: @Header, tx: @Transaction) -> u32 {
// Enforce CHECKLOCKTIMEVERIFY for block versions 4+
// This is part of BIP0065.
if header.version >= @4_u32 && block_height >= @BIP_65_BLOCK_HEIGHT {
script_flags += ScriptFlags::ScriptVerifyDERSignatures.into();
script_flags += ScriptFlags::ScriptVerifyCheckLockTimeVerify.into();
}

// Enforce CHECKSEQUENCEVERIFY if the CSV soft-fork is now active
Expand Down

0 comments on commit 7f71108

Please sign in to comment.