File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1847,7 +1847,11 @@ impl<Signer: WriteableEcdsaChannelSigner> ChannelMonitor<Signer> {
1847
1847
1848
1848
/// Gets the set of outbound HTLCs which are pending resolution in this channel or which were
1849
1849
/// resolved with a preimage from our counterparty.
1850
+ ///
1850
1851
/// This is used to reconstruct pending outbound payments on restart in the ChannelManager.
1852
+ ///
1853
+ /// Currently, the preimage is unused, however if it is present in the relevant internal state
1854
+ /// an HTLC is always included even if it has been resolved.
1851
1855
pub ( crate ) fn get_pending_or_resolved_outbound_htlcs ( & self ) -> HashMap < HTLCSource , ( HTLCOutputInCommitment , Option < PaymentPreimage > ) > {
1852
1856
let us = self . inner . lock ( ) . unwrap ( ) ;
1853
1857
// We're only concerned with the confirmation count of HTLC transactions, and don't
You can’t perform that action at this time.
0 commit comments