Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejka committed Nov 4, 2024
1 parent 0b76870 commit 48ccde7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/consensus/src/validation/locktime.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ pub fn validate_relative_locktime(
let lock_time = value * 512;
let absolute_lock_time = *input.previous_output.median_time_past + lock_time;
if absolute_lock_time > median_time_past {
// println!("sequence: {}", *input.sequence);
// println!("txid: {}", input.previous_output.txid);
// println!("input: {:?}", input);
// println!("{}", value);
// println!("absolute_lock_time: {}", absolute_lock_time);
// println!("median_time_past: {}", median_time_past);
return Result::Err(
format!(
"Relative time-based lock time is not respected: current MTP: {}, outpoint MTP: {}, lock time: {} seconds",
Expand Down

0 comments on commit 48ccde7

Please sign in to comment.