@@ -4385,7 +4385,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4385
4385
self.latest_monitor_update_id += 1;
4386
4386
Some((self.get_counterparty_node_id(), funding_txo, self.channel_id(), ChannelMonitorUpdate {
4387
4387
update_id: self.latest_monitor_update_id,
4388
- counterparty_node_id: Some(self.counterparty_node_id),
4389
4388
updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast }],
4390
4389
channel_id: Some(self.channel_id()),
4391
4390
}))
@@ -4956,7 +4955,6 @@ impl<SP: Deref> FundedChannel<SP> where
4956
4955
self.context.latest_monitor_update_id += 1;
4957
4956
let monitor_update = ChannelMonitorUpdate {
4958
4957
update_id: self.context.latest_monitor_update_id,
4959
- counterparty_node_id: Some(self.context.counterparty_node_id),
4960
4958
updates: vec![ChannelMonitorUpdateStep::PaymentPreimage {
4961
4959
payment_preimage: payment_preimage_arg.clone(),
4962
4960
payment_info,
@@ -5664,7 +5662,6 @@ impl<SP: Deref> FundedChannel<SP> where
5664
5662
self.context.latest_monitor_update_id += 1;
5665
5663
let mut monitor_update = ChannelMonitorUpdate {
5666
5664
update_id: self.context.latest_monitor_update_id,
5667
- counterparty_node_id: Some(self.context.counterparty_node_id),
5668
5665
updates: vec![ChannelMonitorUpdateStep::LatestHolderCommitmentTXInfo {
5669
5666
commitment_tx: holder_commitment_tx,
5670
5667
htlc_outputs: htlcs_and_sigs,
@@ -5758,7 +5755,6 @@ impl<SP: Deref> FundedChannel<SP> where
5758
5755
5759
5756
let mut monitor_update = ChannelMonitorUpdate {
5760
5757
update_id: self.context.latest_monitor_update_id + 1, // We don't increment this yet!
5761
- counterparty_node_id: Some(self.context.counterparty_node_id),
5762
5758
updates: Vec::new(),
5763
5759
channel_id: Some(self.context.channel_id()),
5764
5760
};
@@ -5951,7 +5947,6 @@ impl<SP: Deref> FundedChannel<SP> where
5951
5947
self.context.latest_monitor_update_id += 1;
5952
5948
let mut monitor_update = ChannelMonitorUpdate {
5953
5949
update_id: self.context.latest_monitor_update_id,
5954
- counterparty_node_id: Some(self.context.counterparty_node_id),
5955
5950
updates: vec![ChannelMonitorUpdateStep::CommitmentSecret {
5956
5951
idx: self.context.cur_counterparty_commitment_transaction_number + 1,
5957
5952
secret: msg.per_commitment_secret,
@@ -7223,7 +7218,6 @@ impl<SP: Deref> FundedChannel<SP> where
7223
7218
self.context.latest_monitor_update_id += 1;
7224
7219
let monitor_update = ChannelMonitorUpdate {
7225
7220
update_id: self.context.latest_monitor_update_id,
7226
- counterparty_node_id: Some(self.context.counterparty_node_id),
7227
7221
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
7228
7222
scriptpubkey: self.get_closing_scriptpubkey(),
7229
7223
}],
@@ -8505,7 +8499,6 @@ impl<SP: Deref> FundedChannel<SP> where
8505
8499
self.context.latest_monitor_update_id += 1;
8506
8500
let monitor_update = ChannelMonitorUpdate {
8507
8501
update_id: self.context.latest_monitor_update_id,
8508
- counterparty_node_id: Some(self.context.counterparty_node_id),
8509
8502
updates: vec![ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTXInfo {
8510
8503
commitment_txid: counterparty_commitment_txid,
8511
8504
htlc_outputs: htlcs.clone(),
@@ -8717,7 +8710,6 @@ impl<SP: Deref> FundedChannel<SP> where
8717
8710
self.context.latest_monitor_update_id += 1;
8718
8711
let monitor_update = ChannelMonitorUpdate {
8719
8712
update_id: self.context.latest_monitor_update_id,
8720
- counterparty_node_id: Some(self.context.counterparty_node_id),
8721
8713
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
8722
8714
scriptpubkey: self.get_closing_scriptpubkey(),
8723
8715
}],
0 commit comments