Skip to content

Commit f98c782

Browse files
committed
f make comment more factual
1 parent 23b06fb commit f98c782

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,10 +1490,9 @@ impl<Signer: Sign> ChannelMonitor<Signer> {
14901490
}
14911491
if !found_commitment_tx {
14921492
if let Some(conf_thresh) = pending_commitment_tx_conf_thresh {
1493-
// We blindly assume this is a cooperative close transaction here, and that the
1494-
// counterparty didn't misbehave. At worst we've over-estimated the amount we can
1495-
// claim as we'll punish a misbehaving counterparty (as long as we didn't
1496-
// misbehave).
1493+
// We blindly assume this is a cooperative close transaction here, and that
1494+
// neither us nor our counterparty misbehaved. At worst we've under-estimated
1495+
// the amount we can claim as we'll punish a misbehaving counterparty.
14971496
res.push(ClaimableBalance::ClaimableAwaitingConfirmations {
14981497
claimable_amount_satoshis: us.current_holder_commitment_tx.to_self_value_sat,
14991498
confirmation_height: conf_thresh,

0 commit comments

Comments
 (0)