Skip to content

Commit

Permalink
fix: possible absolute locktime overflow error
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisCho-H authored Aug 30, 2024
1 parent e090fe9 commit d01ad3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/primitives/absolute_locktime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use core::{cmp, fmt};
use bitcoin::absolute;

/// Maximum allowed absolute locktime value.
pub const MAX_ABSOLUTE_LOCKTIME: u32 = 0x8000_0000;
pub const MAX_ABSOLUTE_LOCKTIME: u32 = 0x7FFF_FFFF;

/// Minimum allowed absolute locktime value.
///
Expand Down

0 comments on commit d01ad3f

Please sign in to comment.