Skip to content

Commit f77d037

Browse files
committed
f rustfmt
1 parent 46e8837 commit f77d037

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3124,15 +3124,13 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitor<Signer> {
31243124
|| Some(confirmed_txid) == funding.prev_counterparty_commitment_txid
31253125
{
31263126
let htlcs = funding.counterparty_claimable_outpoints.get(&confirmed_txid).unwrap();
3127-
walk_htlcs!(
3128-
htlcs.iter().filter_map(|(a, b)| {
3129-
if let &Some(ref source) = b {
3130-
Some((a, Some(&**source)))
3131-
} else {
3132-
None
3133-
}
3134-
})
3135-
);
3127+
walk_htlcs!(htlcs.iter().filter_map(|(a, b)| {
3128+
if let &Some(ref source) = b {
3129+
Some((a, Some(&**source)))
3130+
} else {
3131+
None
3132+
}
3133+
}));
31363134
} else if confirmed_txid == funding.current_holder_commitment_tx.trust().txid() {
31373135
walk_htlcs!(holder_commitment_htlcs!(us, CURRENT_WITH_SOURCES));
31383136
} else if let Some(prev_commitment_tx) = &funding.prev_holder_commitment_tx {

0 commit comments

Comments
 (0)