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