Skip to content

Commit d203b65

Browse files
committed
f Adjust helper docs
1 parent 2bc0d31 commit d203b65

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
@@ -2373,9 +2373,8 @@ macro_rules! expect_htlc_handling_failed_destinations {
23732373
}};
23742374
}
23752375

2376-
/// Checks that an [`Event::PendingHTLCsForwardable`] is available in the given events and, if
2377-
/// there are any [`Event::HTLCHandlingFailed`] events their [`HTLCHandlingFailureType`] is included in the
2378-
/// `expected_failures` set.
2376+
/// Checks that, if there are any [`Event::HTLCHandlingFailed`] events, their
2377+
/// [`HTLCHandlingFailureType`] is included in the `expected_failures` set.
23792378
pub fn expect_htlc_failure_conditions(
23802379
events: Vec<Event>, expected_failures: &[HTLCHandlingFailureType],
23812380
) {
@@ -2386,7 +2385,7 @@ pub fn expect_htlc_failure_conditions(
23862385
}
23872386

23882387
#[macro_export]
2389-
/// Handles a PendingHTLCsForwardable and HTLCHandlingFailed event
2388+
/// Processes any HTLC forwards and handles an expected [`Event::HTLCHandlingFailed`].
23902389
macro_rules! process_htlcs_and_expect_htlc_handling_failed {
23912390
($node: expr, $expected_failures: expr) => {{
23922391
$crate::ln::functional_test_utils::expect_htlc_failure_conditions(

0 commit comments

Comments
 (0)