Skip to content

Commit 94f4191

Browse files
committed
f lol better comment
1 parent d6ddf2f commit 94f4191

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2089,8 +2089,10 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
20892089
/// data in counterparty_claimable_outpoints. Will directly claim any HTLC outputs which expire at a
20902090
/// height > height + CLTV_SHARED_CLAIM_BUFFER. In any case, will install monitoring for
20912091
/// HTLC-Success/HTLC-Timeout transactions.
2092-
/// Return updates for HTLC pending in the channel and failed automatically by the broadcast of
2093-
/// revoked counterparty commitment tx
2092+
///
2093+
/// Returns packages to claim the revoked output(s), as well as additional outputs to watch and
2094+
/// general information about the output that is to the counterparty in the commitment
2095+
/// transaction.
20942096
fn check_spend_counterparty_transaction<L: Deref>(&mut self, tx: &Transaction, height: u32, logger: &L)
20952097
-> (Vec<PackageTemplate>, TransactionOutputs, CommitmentTxCounterpartyOutputInfo)
20962098
where L::Target: Logger {

0 commit comments

Comments
 (0)