Skip to content

Commit c21aeab

Browse files
committed
f Adjust helper docs
1 parent c8d379a commit c21aeab

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2445,9 +2445,8 @@ macro_rules! expect_htlc_handling_failed_destinations {
24452445
}};
24462446
}
24472447

2448-
/// Checks that an [`Event::PendingHTLCsForwardable`] is available in the given events and, if
2449-
/// there are any [`Event::HTLCHandlingFailed`] events their [`HTLCHandlingFailureType`] is included in the
2450-
/// `expected_failures` set.
2448+
/// Checks that, if there are any [`Event::HTLCHandlingFailed`] events, their
2449+
/// [`HTLCHandlingFailureType`] is included in the `expected_failures` set.
24512450
pub fn expect_htlc_failure_conditions(
24522451
events: Vec<Event>, expected_failures: &[HTLCHandlingFailureType],
24532452
) {
@@ -2458,7 +2457,7 @@ pub fn expect_htlc_failure_conditions(
24582457
}
24592458

24602459
#[macro_export]
2461-
/// Handles a PendingHTLCsForwardable and HTLCHandlingFailed event
2460+
/// Processes any HTLC forwards and handles an expected [`Event::HTLCHandlingFailed`].
24622461
macro_rules! process_htlcs_and_expect_htlc_handling_failed {
24632462
($node: expr, $expected_failures: expr) => {{
24642463
$crate::ln::functional_test_utils::expect_htlc_failure_conditions(

0 commit comments

Comments
 (0)