@@ -4528,7 +4528,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
45284528 self.latest_monitor_update_id += 1;
45294529 Some((self.get_counterparty_node_id(), funding_txo, self.channel_id(), ChannelMonitorUpdate {
45304530 update_id: self.latest_monitor_update_id,
4531- counterparty_node_id: Some(self.counterparty_node_id),
45324531 updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast }],
45334532 channel_id: Some(self.channel_id()),
45344533 }))
@@ -5107,7 +5106,6 @@ impl<SP: Deref> FundedChannel<SP> where
51075106 self.context.latest_monitor_update_id += 1;
51085107 let monitor_update = ChannelMonitorUpdate {
51095108 update_id: self.context.latest_monitor_update_id,
5110- counterparty_node_id: Some(self.context.counterparty_node_id),
51115109 updates: vec![ChannelMonitorUpdateStep::PaymentPreimage {
51125110 payment_preimage: payment_preimage_arg.clone(),
51135111 payment_info,
@@ -5715,7 +5713,6 @@ impl<SP: Deref> FundedChannel<SP> where
57155713 self.context.latest_monitor_update_id += 1;
57165714 let mut monitor_update = ChannelMonitorUpdate {
57175715 update_id: self.context.latest_monitor_update_id,
5718- counterparty_node_id: Some(self.context.counterparty_node_id),
57195716 updates: vec![ChannelMonitorUpdateStep::LatestHolderCommitmentTXInfo {
57205717 commitment_tx,
57215718 htlc_outputs,
@@ -5797,7 +5794,6 @@ impl<SP: Deref> FundedChannel<SP> where
57975794
57985795 let mut monitor_update = ChannelMonitorUpdate {
57995796 update_id: self.context.latest_monitor_update_id + 1, // We don't increment this yet!
5800- counterparty_node_id: Some(self.context.counterparty_node_id),
58015797 updates: Vec::new(),
58025798 channel_id: Some(self.context.channel_id()),
58035799 };
@@ -5990,7 +5986,6 @@ impl<SP: Deref> FundedChannel<SP> where
59905986 self.context.latest_monitor_update_id += 1;
59915987 let mut monitor_update = ChannelMonitorUpdate {
59925988 update_id: self.context.latest_monitor_update_id,
5993- counterparty_node_id: Some(self.context.counterparty_node_id),
59945989 updates: vec![ChannelMonitorUpdateStep::CommitmentSecret {
59955990 idx: self.context.cur_counterparty_commitment_transaction_number + 1,
59965991 secret: msg.per_commitment_secret,
@@ -7262,7 +7257,6 @@ impl<SP: Deref> FundedChannel<SP> where
72627257 self.context.latest_monitor_update_id += 1;
72637258 let monitor_update = ChannelMonitorUpdate {
72647259 update_id: self.context.latest_monitor_update_id,
7265- counterparty_node_id: Some(self.context.counterparty_node_id),
72667260 updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
72677261 scriptpubkey: self.get_closing_scriptpubkey(),
72687262 }],
@@ -8548,7 +8542,6 @@ impl<SP: Deref> FundedChannel<SP> where
85488542 self.context.latest_monitor_update_id += 1;
85498543 let monitor_update = ChannelMonitorUpdate {
85508544 update_id: self.context.latest_monitor_update_id,
8551- counterparty_node_id: Some(self.context.counterparty_node_id),
85528545 updates: vec![ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTXInfo {
85538546 commitment_txid: counterparty_commitment_txid,
85548547 htlc_outputs: htlcs.clone(),
@@ -8760,7 +8753,6 @@ impl<SP: Deref> FundedChannel<SP> where
87608753 self.context.latest_monitor_update_id += 1;
87618754 let monitor_update = ChannelMonitorUpdate {
87628755 update_id: self.context.latest_monitor_update_id,
8763- counterparty_node_id: Some(self.context.counterparty_node_id),
87648756 updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
87658757 scriptpubkey: self.get_closing_scriptpubkey(),
87668758 }],
0 commit comments