@@ -4113,8 +4113,7 @@ impl<
41134113 channel_id: *chan_id,
41144114 counterparty_node_id: *counterparty_node_id,
41154115 user_channel_id: chan.context().get_user_id(),
4116- abandoned_funding_txo: splice_funding_failed.funding_txo,
4117- channel_type: splice_funding_failed.channel_type,
4116+ contribution: splice_funding_failed.contribution,
41184117 reason: events::NegotiationFailureReason::ChannelClosing,
41194118 },
41204119 None,
@@ -4420,8 +4419,7 @@ impl<
44204419 channel_id: shutdown_res.channel_id,
44214420 counterparty_node_id: shutdown_res.counterparty_node_id,
44224421 user_channel_id: shutdown_res.user_channel_id,
4423- abandoned_funding_txo: splice_funding_failed.funding_txo,
4424- channel_type: splice_funding_failed.channel_type,
4422+ contribution: splice_funding_failed.contribution,
44254423 reason: events::NegotiationFailureReason::ChannelClosing,
44264424 },
44274425 None,
@@ -4927,8 +4925,7 @@ impl<
49274925 channel_id: *channel_id,
49284926 counterparty_node_id: *counterparty_node_id,
49294927 user_channel_id: chan.context.get_user_id(),
4930- abandoned_funding_txo: splice_funding_failed.funding_txo,
4931- channel_type: splice_funding_failed.channel_type,
4928+ contribution: splice_funding_failed.contribution,
49324929 reason: events::NegotiationFailureReason::LocallyAbandoned,
49334930 },
49344931 None,
@@ -6614,10 +6611,7 @@ impl<
66146611 },
66156612 QuiescentError::FailSplice(
66166613 SpliceFundingFailed {
6617- funding_txo,
6618- channel_type,
6619- contributed_inputs,
6620- contributed_outputs,
6614+ contributed_inputs, contributed_outputs, contribution, ..
66216615 },
66226616 reason,
66236617 ) => {
@@ -6627,9 +6621,8 @@ impl<
66276621 channel_id,
66286622 counterparty_node_id,
66296623 user_channel_id,
6630- abandoned_funding_txo: funding_txo,
6631- channel_type,
66326624 reason,
6625+ contribution,
66336626 },
66346627 None,
66356628 ));
@@ -11863,8 +11856,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1186311856 channel_id,
1186411857 counterparty_node_id: *counterparty_node_id,
1186511858 user_channel_id: channel.context().get_user_id(),
11866- abandoned_funding_txo: splice_funding_failed.funding_txo,
11867- channel_type: splice_funding_failed.channel_type.clone(),
11859+ contribution: splice_funding_failed.contribution.clone(),
1186811860 reason: events::NegotiationFailureReason::NegotiationError,
1186911861 },
1187011862 None,
@@ -12023,8 +12015,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1202312015 channel_id: msg.channel_id,
1202412016 counterparty_node_id,
1202512017 user_channel_id: chan.context().get_user_id(),
12026- abandoned_funding_txo: splice_funding_failed.funding_txo,
12027- channel_type: splice_funding_failed.channel_type.clone(),
12018+ contribution: splice_funding_failed.contribution.clone(),
1202812019 reason: events::NegotiationFailureReason::NegotiationError,
1202912020 },
1203012021 None,
@@ -12194,8 +12185,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1219412185 channel_id: msg.channel_id,
1219512186 counterparty_node_id: *counterparty_node_id,
1219612187 user_channel_id: chan_entry.get().context().get_user_id(),
12197- abandoned_funding_txo: splice_funding_failed.funding_txo,
12198- channel_type: splice_funding_failed.channel_type,
12188+ contribution: splice_funding_failed.contribution,
1219912189 reason: events::NegotiationFailureReason::CounterpartyAborted,
1220012190 },
1220112191 None,
@@ -12343,8 +12333,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1234312333 channel_id: msg.channel_id,
1234412334 counterparty_node_id: *counterparty_node_id,
1234512335 user_channel_id: chan.context().get_user_id(),
12346- abandoned_funding_txo: splice_funding_failed.funding_txo,
12347- channel_type: splice_funding_failed.channel_type,
12336+ contribution: splice_funding_failed.contribution,
1234812337 reason: events::NegotiationFailureReason::ChannelClosing,
1234912338 },
1235012339 None,
@@ -15460,8 +15449,7 @@ impl<
1546015449 channel_id: chan.context().channel_id(),
1546115450 counterparty_node_id,
1546215451 user_channel_id: chan.context().get_user_id(),
15463- abandoned_funding_txo: splice_funding_failed.funding_txo,
15464- channel_type: splice_funding_failed.channel_type,
15452+ contribution: splice_funding_failed.contribution,
1546515453 reason: events::NegotiationFailureReason::PeerDisconnected,
1546615454 });
1546715455 splice_failed_events.push(events::Event::DiscardFunding {
@@ -18133,9 +18121,8 @@ impl<
1813318121 channel_id: chan.context.channel_id(),
1813418122 counterparty_node_id: chan.context.get_counterparty_node_id(),
1813518123 user_channel_id: chan.context.get_user_id(),
18136- abandoned_funding_txo: splice_funding_failed.funding_txo,
18137- channel_type: splice_funding_failed.channel_type,
1813818124 reason: events::NegotiationFailureReason::PeerDisconnected,
18125+ contribution: splice_funding_failed.contribution,
1813918126 },
1814018127 None,
1814118128 ));
0 commit comments