From fb17da9853f86f3dc4cc804accc2698a03047f3f Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 23 Apr 2025 14:56:45 -0700 Subject: [PATCH 1/2] Address `Notifier::notify` docs nits --- lightning/src/util/wakers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/util/wakers.rs b/lightning/src/util/wakers.rs index ce504f63224..2c2a13a7d5a 100644 --- a/lightning/src/util/wakers.rs +++ b/lightning/src/util/wakers.rs @@ -49,7 +49,7 @@ impl Notifier { /// Wake waiters, tracking that wake needs to occur even if there are currently no waiters. /// /// We deem the notification successful either directly after any callbacks were made, or after - /// the user [`poll`]ed a previously-completed future. + /// the user [`poll`]ed a previously-generated [`Future`]. /// /// [`poll`]: core::future::Future::poll pub fn notify(&self) { From d0f63f5c660ab473f1eb842e2b87098078957265 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Wed, 23 Apr 2025 14:59:33 -0700 Subject: [PATCH 2/2] Drop unnecessary `payment_queue`-cloning --- lightning-liquidity/src/lsps2/service.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning-liquidity/src/lsps2/service.rs b/lightning-liquidity/src/lsps2/service.rs index 2f6318734b5..4f1aaccae8c 100644 --- a/lightning-liquidity/src/lsps2/service.rs +++ b/lightning-liquidity/src/lsps2/service.rs @@ -256,7 +256,7 @@ impl OutboundJITChannelState { Ok(Some(forward_payment)) } else { *self = OutboundJITChannelState::PendingPayment { - payment_queue: payment_queue.clone(), + payment_queue, opening_fee_msat: *opening_fee_msat, channel_id: *channel_id, };