@@ -4398,7 +4398,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4398
4398
self.latest_monitor_update_id += 1;
4399
4399
Some((self.get_counterparty_node_id(), funding_txo, self.channel_id(), ChannelMonitorUpdate {
4400
4400
update_id: self.latest_monitor_update_id,
4401
- counterparty_node_id: Some(self.counterparty_node_id),
4402
4401
updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast }],
4403
4402
channel_id: Some(self.channel_id()),
4404
4403
}))
@@ -4969,7 +4968,6 @@ impl<SP: Deref> FundedChannel<SP> where
4969
4968
self.context.latest_monitor_update_id += 1;
4970
4969
let monitor_update = ChannelMonitorUpdate {
4971
4970
update_id: self.context.latest_monitor_update_id,
4972
- counterparty_node_id: Some(self.context.counterparty_node_id),
4973
4971
updates: vec![ChannelMonitorUpdateStep::PaymentPreimage {
4974
4972
payment_preimage: payment_preimage_arg.clone(),
4975
4973
payment_info,
@@ -5670,7 +5668,6 @@ impl<SP: Deref> FundedChannel<SP> where
5670
5668
self.context.latest_monitor_update_id += 1;
5671
5669
let mut monitor_update = ChannelMonitorUpdate {
5672
5670
update_id: self.context.latest_monitor_update_id,
5673
- counterparty_node_id: Some(self.context.counterparty_node_id),
5674
5671
updates: vec![ChannelMonitorUpdateStep::LatestHolderCommitmentTXInfo {
5675
5672
commitment_tx: holder_commitment_tx,
5676
5673
htlc_outputs: htlcs_and_sigs,
@@ -5764,7 +5761,6 @@ impl<SP: Deref> FundedChannel<SP> where
5764
5761
5765
5762
let mut monitor_update = ChannelMonitorUpdate {
5766
5763
update_id: self.context.latest_monitor_update_id + 1, // We don't increment this yet!
5767
- counterparty_node_id: Some(self.context.counterparty_node_id),
5768
5764
updates: Vec::new(),
5769
5765
channel_id: Some(self.context.channel_id()),
5770
5766
};
@@ -5957,7 +5953,6 @@ impl<SP: Deref> FundedChannel<SP> where
5957
5953
self.context.latest_monitor_update_id += 1;
5958
5954
let mut monitor_update = ChannelMonitorUpdate {
5959
5955
update_id: self.context.latest_monitor_update_id,
5960
- counterparty_node_id: Some(self.context.counterparty_node_id),
5961
5956
updates: vec![ChannelMonitorUpdateStep::CommitmentSecret {
5962
5957
idx: self.context.cur_counterparty_commitment_transaction_number + 1,
5963
5958
secret: msg.per_commitment_secret,
@@ -7229,7 +7224,6 @@ impl<SP: Deref> FundedChannel<SP> where
7229
7224
self.context.latest_monitor_update_id += 1;
7230
7225
let monitor_update = ChannelMonitorUpdate {
7231
7226
update_id: self.context.latest_monitor_update_id,
7232
- counterparty_node_id: Some(self.context.counterparty_node_id),
7233
7227
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
7234
7228
scriptpubkey: self.get_closing_scriptpubkey(),
7235
7229
}],
@@ -8511,7 +8505,6 @@ impl<SP: Deref> FundedChannel<SP> where
8511
8505
self.context.latest_monitor_update_id += 1;
8512
8506
let monitor_update = ChannelMonitorUpdate {
8513
8507
update_id: self.context.latest_monitor_update_id,
8514
- counterparty_node_id: Some(self.context.counterparty_node_id),
8515
8508
updates: vec![ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTXInfo {
8516
8509
commitment_txid: counterparty_commitment_txid,
8517
8510
htlc_outputs: htlcs.clone(),
@@ -8723,7 +8716,6 @@ impl<SP: Deref> FundedChannel<SP> where
8723
8716
self.context.latest_monitor_update_id += 1;
8724
8717
let monitor_update = ChannelMonitorUpdate {
8725
8718
update_id: self.context.latest_monitor_update_id,
8726
- counterparty_node_id: Some(self.context.counterparty_node_id),
8727
8719
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
8728
8720
scriptpubkey: self.get_closing_scriptpubkey(),
8729
8721
}],
0 commit comments