File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2445,9 +2445,8 @@ macro_rules! expect_htlc_handling_failed_destinations {
2445
2445
} } ;
2446
2446
}
2447
2447
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.
2451
2450
pub fn expect_htlc_failure_conditions (
2452
2451
events : Vec < Event > , expected_failures : & [ HTLCHandlingFailureType ] ,
2453
2452
) {
@@ -2458,7 +2457,7 @@ pub fn expect_htlc_failure_conditions(
2458
2457
}
2459
2458
2460
2459
#[ macro_export]
2461
- /// Handles a PendingHTLCsForwardable and HTLCHandlingFailed event
2460
+ /// Processes any HTLC forwards and handles an expected [`Event::HTLCHandlingFailed`].
2462
2461
macro_rules! process_htlcs_and_expect_htlc_handling_failed {
2463
2462
( $node: expr, $expected_failures: expr) => { {
2464
2463
$crate:: ln:: functional_test_utils:: expect_htlc_failure_conditions(
You can’t perform that action at this time.
0 commit comments