@@ -4528,7 +4528,6 @@ impl<SP: Deref> ChannelContext<SP> where SP::Target: SignerProvider {
4528
4528
self.latest_monitor_update_id += 1;
4529
4529
Some((self.get_counterparty_node_id(), funding_txo, self.channel_id(), ChannelMonitorUpdate {
4530
4530
update_id: self.latest_monitor_update_id,
4531
- counterparty_node_id: Some(self.counterparty_node_id),
4532
4531
updates: vec![ChannelMonitorUpdateStep::ChannelForceClosed { should_broadcast }],
4533
4532
channel_id: Some(self.channel_id()),
4534
4533
}))
@@ -5107,7 +5106,6 @@ impl<SP: Deref> FundedChannel<SP> where
5107
5106
self.context.latest_monitor_update_id += 1;
5108
5107
let monitor_update = ChannelMonitorUpdate {
5109
5108
update_id: self.context.latest_monitor_update_id,
5110
- counterparty_node_id: Some(self.context.counterparty_node_id),
5111
5109
updates: vec![ChannelMonitorUpdateStep::PaymentPreimage {
5112
5110
payment_preimage: payment_preimage_arg.clone(),
5113
5111
payment_info,
@@ -5715,7 +5713,6 @@ impl<SP: Deref> FundedChannel<SP> where
5715
5713
self.context.latest_monitor_update_id += 1;
5716
5714
let mut monitor_update = ChannelMonitorUpdate {
5717
5715
update_id: self.context.latest_monitor_update_id,
5718
- counterparty_node_id: Some(self.context.counterparty_node_id),
5719
5716
updates: vec![ChannelMonitorUpdateStep::LatestHolderCommitmentTXInfo {
5720
5717
commitment_tx,
5721
5718
htlc_outputs,
@@ -5797,7 +5794,6 @@ impl<SP: Deref> FundedChannel<SP> where
5797
5794
5798
5795
let mut monitor_update = ChannelMonitorUpdate {
5799
5796
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),
5801
5797
updates: Vec::new(),
5802
5798
channel_id: Some(self.context.channel_id()),
5803
5799
};
@@ -5990,7 +5986,6 @@ impl<SP: Deref> FundedChannel<SP> where
5990
5986
self.context.latest_monitor_update_id += 1;
5991
5987
let mut monitor_update = ChannelMonitorUpdate {
5992
5988
update_id: self.context.latest_monitor_update_id,
5993
- counterparty_node_id: Some(self.context.counterparty_node_id),
5994
5989
updates: vec![ChannelMonitorUpdateStep::CommitmentSecret {
5995
5990
idx: self.context.cur_counterparty_commitment_transaction_number + 1,
5996
5991
secret: msg.per_commitment_secret,
@@ -7262,7 +7257,6 @@ impl<SP: Deref> FundedChannel<SP> where
7262
7257
self.context.latest_monitor_update_id += 1;
7263
7258
let monitor_update = ChannelMonitorUpdate {
7264
7259
update_id: self.context.latest_monitor_update_id,
7265
- counterparty_node_id: Some(self.context.counterparty_node_id),
7266
7260
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
7267
7261
scriptpubkey: self.get_closing_scriptpubkey(),
7268
7262
}],
@@ -8548,7 +8542,6 @@ impl<SP: Deref> FundedChannel<SP> where
8548
8542
self.context.latest_monitor_update_id += 1;
8549
8543
let monitor_update = ChannelMonitorUpdate {
8550
8544
update_id: self.context.latest_monitor_update_id,
8551
- counterparty_node_id: Some(self.context.counterparty_node_id),
8552
8545
updates: vec![ChannelMonitorUpdateStep::LatestCounterpartyCommitmentTXInfo {
8553
8546
commitment_txid: counterparty_commitment_txid,
8554
8547
htlc_outputs: htlcs.clone(),
@@ -8760,7 +8753,6 @@ impl<SP: Deref> FundedChannel<SP> where
8760
8753
self.context.latest_monitor_update_id += 1;
8761
8754
let monitor_update = ChannelMonitorUpdate {
8762
8755
update_id: self.context.latest_monitor_update_id,
8763
- counterparty_node_id: Some(self.context.counterparty_node_id),
8764
8756
updates: vec![ChannelMonitorUpdateStep::ShutdownScript {
8765
8757
scriptpubkey: self.get_closing_scriptpubkey(),
8766
8758
}],
0 commit comments