@@ -546,8 +546,7 @@ impl Into<u16> for FailureCode {
546
546
struct MsgHandleErrInternal {
547
547
err: msgs::LightningError,
548
548
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>)>,
551
550
channel_capacity: Option<u64>,
552
551
channel_funding_txo: Option<OutPoint>,
553
552
}
@@ -590,7 +589,7 @@ impl MsgHandleErrInternal {
590
589
chan_id: Some((channel_id, user_channel_id)),
591
590
shutdown_finish: Some((shutdown_res, channel_update)),
592
591
channel_capacity: Some(channel_capacity),
593
- channel_funding_txo,
592
+ channel_funding_txo: channel_funding_txo ,
594
593
}
595
594
}
596
595
#[inline]
@@ -1977,7 +1976,7 @@ macro_rules! handle_error {
1977
1976
reason: ClosureReason::ProcessingError { err: err.err.clone() },
1978
1977
counterparty_node_id: Some($counterparty_node_id),
1979
1978
channel_capacity_sats: channel_capacity,
1980
- channel_funding_txo,
1979
+ channel_funding_txo: channel_funding_txo ,
1981
1980
}, None));
1982
1981
}
1983
1982
}
0 commit comments