Merge rust-bitcoin/rust-bitcoin#3047: Remove unused variable from LockTime example
86f82b487d
Remove unused variable from LockTime example (Shing Him Ng) Pull request description: Following up on [a comment](https://github.com/rust-bitcoin/rust-bitcoin/pull/3026#discussion_r1676744486) from #3026 and removing an unused variable from the LockTime example ACKs for top commit: tcharding: ACK86f82b487d
Kixunil: ACK86f82b487d
Tree-SHA512: 526d42e68297e9670953f7aadfbf624b7bc20f1bf95b3e5ff66a58871967e38eca917d9ee9c385cf40ed7d9a867cb081ef17f2aa3683138f6fc55a74414a83f6
This commit is contained in:
commit
2cfa570639
|
@ -175,7 +175,6 @@ impl LockTime {
|
|||
/// # 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.
|
||||
/// let height_and_time = (current_time(), current_height()); // tuple order does not matter.
|
||||
/// assert!(lock.is_satisfied_by(current_height(), current_time()));
|
||||
/// ```
|
||||
#[inline]
|
||||
|
|
Loading…
Reference in New Issue