Skip to content

Commit 6cd8b79

Browse files
committed
f rustfmt
1 parent c32ff14 commit 6cd8b79

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3003,7 +3003,9 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
30033003
// transaction reaches ANTI_REORG_DELAY confirmations.
30043004
res.insert(source.clone(), htlc.clone());
30053005
}
3006-
} else if let Some(state) = us.htlcs_resolved_on_chain.iter().filter(filter).next() {
3006+
} else if let Some(state) =
3007+
us.htlcs_resolved_on_chain.iter().filter(filter).next()
3008+
{
30073009
if let Some(source) = source {
30083010
if state.payment_preimage.is_none() {
30093011
res.insert(source.clone(), htlc.clone());
@@ -3014,7 +3016,6 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
30143016
};
30153017
}
30163018

3017-
30183019
// We only want HTLCs with ANTI_REORG_DELAY confirmations, which implies the commitment
30193020
// transaction has least ANTI_REORG_DELAY confirmations for any dependent HTLC transactions
30203021
// to have been confirmed.

0 commit comments

Comments
 (0)