@@ -4404,7 +4404,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4404
4404
self.latest_monitor_update_id += 1;
4405
4405
Some((self.get_counterparty_node_id(), funding_txo, self.channel_id(), ChannelMonitorUpdate {
4406
4406
update_id: self.latest_monitor_update_id,
4407
- counterparty_node_id: Some(self.counterparty_node_id),
4408
4407
updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast }],
4409
4408
channel_id: Some(self.channel_id()),
4410
4409
}))
@@ -4975,7 +4974,6 @@ impl<SP: Deref> FundedChannel<SP> where
4975
4974
self.context.latest_monitor_update_id += 1;
4976
4975
let monitor_update = ChannelMonitorUpdate {
4977
4976
update_id: self.context.latest_monitor_update_id,
4978
- counterparty_node_id: Some(self.context.counterparty_node_id),
4979
4977
updates: vec![ChannelMonitorUpdateStep::PaymentPreimage {
4980
4978
payment_preimage: payment_preimage_arg.clone(),
4981
4979
payment_info,
@@ -5666,7 +5664,6 @@ impl<SP: Deref> FundedChannel<SP> where
5666
5664
self.context.latest_monitor_update_id += 1;
5667
5665
let mut monitor_update = ChannelMonitorUpdate {
5668
5666
update_id: self.context.latest_monitor_update_id,
5669
- counterparty_node_id: Some(self.context.counterparty_node_id),
5670
5667
updates: vec![ChannelMonitorUpdateStep::LatestHolderCommitmentTXInfo {
5671
5668
commitment_tx: holder_commitment_tx,
5672
5669
htlc_outputs: htlcs_and_sigs,
@@ -5760,7 +5757,6 @@ impl<SP: Deref> FundedChannel<SP> where
5760
5757
5761
5758
let mut monitor_update = ChannelMonitorUpdate {
5762
5759
update_id: self.context.latest_monitor_update_id + 1, // We don't increment this yet!
5763
- counterparty_node_id: Some(self.context.counterparty_node_id),
5764
5760
updates: Vec::new(),
5765
5761
channel_id: Some(self.context.channel_id()),
5766
5762
};
@@ -5953,7 +5949,6 @@ impl<SP: Deref> FundedChannel<SP> where
5953
5949
self.context.latest_monitor_update_id += 1;
5954
5950
let mut monitor_update = ChannelMonitorUpdate {
5955
5951
update_id: self.context.latest_monitor_update_id,
5956
- counterparty_node_id: Some(self.context.counterparty_node_id),
5957
5952
updates: vec![ChannelMonitorUpdateStep::CommitmentSecret {
5958
5953
idx: self.context.cur_counterparty_commitment_transaction_number + 1,
5959
5954
secret: msg.per_commitment_secret,
@@ -7225,7 +7220,6 @@ impl<SP: Deref> FundedChannel<SP> where
7225
7220
self.context.latest_monitor_update_id += 1;
7226
7221
let monitor_update = ChannelMonitorUpdate {
7227
7222
update_id: self.context.latest_monitor_update_id,
7228
- counterparty_node_id: Some(self.context.counterparty_node_id),
7229
7223
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
7230
7224
scriptpubkey: self.get_closing_scriptpubkey(),
7231
7225
}],
@@ -8507,7 +8501,6 @@ impl<SP: Deref> FundedChannel<SP> where
8507
8501
self.context.latest_monitor_update_id += 1;
8508
8502
let monitor_update = ChannelMonitorUpdate {
8509
8503
update_id: self.context.latest_monitor_update_id,
8510
- counterparty_node_id: Some(self.context.counterparty_node_id),
8511
8504
updates: vec![ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTXInfo {
8512
8505
commitment_txid: counterparty_commitment_txid,
8513
8506
htlc_outputs: htlcs.clone(),
@@ -8719,7 +8712,6 @@ impl<SP: Deref> FundedChannel<SP> where
8719
8712
self.context.latest_monitor_update_id += 1;
8720
8713
let monitor_update = ChannelMonitorUpdate {
8721
8714
update_id: self.context.latest_monitor_update_id,
8722
- counterparty_node_id: Some(self.context.counterparty_node_id),
8723
8715
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
8724
8716
scriptpubkey: self.get_closing_scriptpubkey(),
8725
8717
}],
0 commit comments