Skip to content

Commit 7c176b3

Browse files
committed
Review changes
1 parent 3b7674b commit 7c176b3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,7 @@ impl Into<u16> for FailureCode {
546546
struct MsgHandleErrInternal {
547547
err: msgs::LightningError,
548548
chan_id: Option<(ChannelId, u128)>, // If Some a channel of ours has been closed
549-
shutdown_finish: Option<(ShutdownResult,
550-
Option<msgs::ChannelUpdate>)>,
549+
shutdown_finish: Option<(ShutdownResult, Option<msgs::ChannelUpdate>)>,
551550
channel_capacity: Option<u64>,
552551
channel_funding_txo: Option<OutPoint>,
553552
}
@@ -590,7 +589,7 @@ impl MsgHandleErrInternal {
590589
chan_id: Some((channel_id, user_channel_id)),
591590
shutdown_finish: Some((shutdown_res, channel_update)),
592591
channel_capacity: Some(channel_capacity),
593-
channel_funding_txo,
592+
channel_funding_txo: channel_funding_txo,
594593
}
595594
}
596595
#[inline]
@@ -1977,7 +1976,7 @@ macro_rules! handle_error {
19771976
reason: ClosureReason::ProcessingError { err: err.err.clone() },
19781977
counterparty_node_id: Some($counterparty_node_id),
19791978
channel_capacity_sats: channel_capacity,
1980-
channel_funding_txo,
1979+
channel_funding_txo: channel_funding_txo,
19811980
}, None));
19821981
}
19831982
}

0 commit comments

Comments
 (0)