Skip to content

Commit 1027929

Browse files
committed
Rustfmt cleanup
1 parent 43340d6 commit 1027929

File tree

3 files changed

+159
-386
lines changed

3 files changed

+159
-386
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7165,8 +7165,8 @@ where
71657165
" ...removing outbound AwaitingRemovedRemoteRevoke {}",
71667166
&htlc.payment_hash
71677167
);
7168+
// We really want take() here, but, again, non-mut ref :(
71687169
if let OutboundHTLCOutcome::Failure(mut reason) = outcome.clone() {
7169-
// We really want take() here, but, again, non-mut ref :(
71707170
if let (Some(timestamp), Some(now)) = (htlc.send_timestamp, now) {
71717171
let hold_time =
71727172
u32::try_from(now.saturating_sub(timestamp).as_millis())

0 commit comments

Comments
 (0)