@@ -4009,8 +4009,7 @@ impl<
40094009 channel_id: *chan_id,
40104010 counterparty_node_id: *counterparty_node_id,
40114011 user_channel_id: chan.context().get_user_id(),
4012- abandoned_funding_txo: splice_funding_failed.funding_txo,
4013- channel_type: splice_funding_failed.channel_type,
4012+ contribution: splice_funding_failed.contribution,
40144013 reason: events::NegotiationFailureReason::ChannelClosing,
40154014 },
40164015 None,
@@ -4316,8 +4315,7 @@ impl<
43164315 channel_id: shutdown_res.channel_id,
43174316 counterparty_node_id: shutdown_res.counterparty_node_id,
43184317 user_channel_id: shutdown_res.user_channel_id,
4319- abandoned_funding_txo: splice_funding_failed.funding_txo,
4320- channel_type: splice_funding_failed.channel_type,
4318+ contribution: splice_funding_failed.contribution,
43214319 reason: events::NegotiationFailureReason::ChannelClosing,
43224320 },
43234321 None,
@@ -4823,8 +4821,7 @@ impl<
48234821 channel_id: *channel_id,
48244822 counterparty_node_id: *counterparty_node_id,
48254823 user_channel_id: chan.context.get_user_id(),
4826- abandoned_funding_txo: splice_funding_failed.funding_txo,
4827- channel_type: splice_funding_failed.channel_type,
4824+ contribution: splice_funding_failed.contribution,
48284825 reason: events::NegotiationFailureReason::LocallyAbandoned,
48294826 },
48304827 None,
@@ -6510,10 +6507,7 @@ impl<
65106507 },
65116508 QuiescentError::FailSplice(
65126509 SpliceFundingFailed {
6513- funding_txo,
6514- channel_type,
6515- contributed_inputs,
6516- contributed_outputs,
6510+ contributed_inputs, contributed_outputs, contribution, ..
65176511 },
65186512 reason,
65196513 ) => {
@@ -6523,9 +6517,8 @@ impl<
65236517 channel_id,
65246518 counterparty_node_id,
65256519 user_channel_id,
6526- abandoned_funding_txo: funding_txo,
6527- channel_type,
65286520 reason,
6521+ contribution,
65296522 },
65306523 None,
65316524 ));
@@ -11713,8 +11706,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1171311706 channel_id,
1171411707 counterparty_node_id: *counterparty_node_id,
1171511708 user_channel_id: channel.context().get_user_id(),
11716- abandoned_funding_txo: splice_funding_failed.funding_txo,
11717- channel_type: splice_funding_failed.channel_type.clone(),
11709+ contribution: splice_funding_failed.contribution.clone(),
1171811710 reason: events::NegotiationFailureReason::NegotiationError,
1171911711 },
1172011712 None,
@@ -11873,8 +11865,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1187311865 channel_id: msg.channel_id,
1187411866 counterparty_node_id,
1187511867 user_channel_id: chan.context().get_user_id(),
11876- abandoned_funding_txo: splice_funding_failed.funding_txo,
11877- channel_type: splice_funding_failed.channel_type.clone(),
11868+ contribution: splice_funding_failed.contribution.clone(),
1187811869 reason: events::NegotiationFailureReason::NegotiationError,
1187911870 },
1188011871 None,
@@ -12044,8 +12035,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1204412035 channel_id: msg.channel_id,
1204512036 counterparty_node_id: *counterparty_node_id,
1204612037 user_channel_id: chan_entry.get().context().get_user_id(),
12047- abandoned_funding_txo: splice_funding_failed.funding_txo,
12048- channel_type: splice_funding_failed.channel_type,
12038+ contribution: splice_funding_failed.contribution,
1204912039 reason: events::NegotiationFailureReason::CounterpartyAborted,
1205012040 },
1205112041 None,
@@ -12193,8 +12183,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
1219312183 channel_id: msg.channel_id,
1219412184 counterparty_node_id: *counterparty_node_id,
1219512185 user_channel_id: chan.context().get_user_id(),
12196- abandoned_funding_txo: splice_funding_failed.funding_txo,
12197- channel_type: splice_funding_failed.channel_type,
12186+ contribution: splice_funding_failed.contribution,
1219812187 reason: events::NegotiationFailureReason::ChannelClosing,
1219912188 },
1220012189 None,
@@ -15302,8 +15291,7 @@ impl<
1530215291 channel_id: chan.context().channel_id(),
1530315292 counterparty_node_id,
1530415293 user_channel_id: chan.context().get_user_id(),
15305- abandoned_funding_txo: splice_funding_failed.funding_txo,
15306- channel_type: splice_funding_failed.channel_type,
15294+ contribution: splice_funding_failed.contribution,
1530715295 reason: events::NegotiationFailureReason::PeerDisconnected,
1530815296 });
1530915297 splice_failed_events.push(events::Event::DiscardFunding {
@@ -17953,9 +17941,8 @@ impl<
1795317941 channel_id: chan.context.channel_id(),
1795417942 counterparty_node_id: chan.context.get_counterparty_node_id(),
1795517943 user_channel_id: chan.context.get_user_id(),
17956- abandoned_funding_txo: splice_funding_failed.funding_txo,
17957- channel_type: splice_funding_failed.channel_type,
1795817944 reason: events::NegotiationFailureReason::PeerDisconnected,
17945+ contribution: splice_funding_failed.contribution,
1795917946 },
1796017947 None,
1796117948 ));
0 commit comments