Remove unused variable from LockTime example

This commit is contained in:
Shing Him Ng 2024-07-14 17:58:55 -05:00
parent 36d5c471cf
commit 86f82b487d
1 changed files with 0 additions and 1 deletions

View File

@ -175,7 +175,6 @@ impl LockTime {
/// # let lock = Sequence::from_height(required_height).to_relative_lock_time().expect("valid height"); /// # let lock = Sequence::from_height(required_height).to_relative_lock_time().expect("valid height");
/// ///
/// // Users that have chain data can get the current height and time to check against a lock. /// // Users that have chain data can get the current height and time to check against a lock.
/// let height_and_time = (current_time(), current_height()); // tuple order does not matter.
/// assert!(lock.is_satisfied_by(current_height(), current_time())); /// assert!(lock.is_satisfied_by(current_height(), current_time()));
/// ``` /// ```
#[inline] #[inline]