From 6a81d5d4bb894e130f753dda9a04f8016c71b8a9 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 28 Aug 2024 13:50:17 +0000 Subject: [PATCH] Add additional documentation on `Channel::unbroadcasted_funding` --- lightning/src/ln/channel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lightning/src/ln/channel.rs b/lightning/src/ln/channel.rs index 576ae665a..fe01a2629 100644 --- a/lightning/src/ln/channel.rs +++ b/lightning/src/ln/channel.rs @@ -3457,6 +3457,9 @@ impl ChannelContext where SP::Target: SignerProvider { /// Returns the transaction if there is a pending funding transaction that is yet to be /// broadcast. + /// + /// Note that if [`Self::is_manual_broadcast`] is true the transaction will be a dummy + /// transaction. pub fn unbroadcasted_funding(&self) -> Option { self.if_unbroadcasted_funding(|| self.funding_transaction.clone()) } -- 2.39.5