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 @@ -2351,9 +2351,8 @@ macro_rules! expect_htlc_handling_failed_destinations {
23512351 } } ;
23522352}
23532353
2354- /// Checks that an [`Event::PendingHTLCsForwardable`] is available in the given events and, if
2355- /// there are any [`Event::HTLCHandlingFailed`] events their [`HTLCHandlingFailureType`] is included in the
2356- /// `expected_failures` set.
2354+ /// Checks that, if there are any [`Event::HTLCHandlingFailed`] events, their
2355+ /// [`HTLCHandlingFailureType`] is included in the `expected_failures` set.
23572356pub fn expect_htlc_failure_conditions (
23582357 events : Vec < Event > , expected_failures : & [ HTLCHandlingFailureType ] ,
23592358) {
@@ -2364,7 +2363,7 @@ pub fn expect_htlc_failure_conditions(
23642363}
23652364
23662365#[ macro_export]
2367- /// Handles a PendingHTLCsForwardable and HTLCHandlingFailed event
2366+ /// Processes any HTLC forwards and handles an expected [`Event::HTLCHandlingFailed`].
23682367macro_rules! process_htlcs_and_expect_htlc_handling_failed {
23692368 ( $node: expr, $expected_failures: expr) => { {
23702369 $crate:: ln:: functional_test_utils:: expect_htlc_failure_conditions(
You can’t perform that action at this time.
0 commit comments