Skip to content

Commit c215dc4

Browse files
committed
Remove unused funding_txo parameter to channel_monitor_updated
1 parent 61e940f commit c215dc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7634,7 +7634,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
76347634
(htlc_forwards, decode_update_add_htlcs)
76357635
}
76367636

7637-
fn channel_monitor_updated(&self, funding_txo: &OutPoint, channel_id: &ChannelId, highest_applied_update_id: u64, counterparty_node_id: &PublicKey) {
7637+
fn channel_monitor_updated(&self, channel_id: &ChannelId, highest_applied_update_id: u64, counterparty_node_id: &PublicKey) {
76387638
debug_assert!(self.total_consistency_lock.try_write().is_err()); // Caller holds read lock
76397639

76407640
let per_peer_state = self.per_peer_state.read().unwrap();
@@ -9439,8 +9439,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
94399439
}
94409440
}
94419441
},
9442-
MonitorEvent::Completed { funding_txo, channel_id, monitor_update_id } => {
9443-
self.channel_monitor_updated(&funding_txo, &channel_id, monitor_update_id, &counterparty_node_id);
9442+
MonitorEvent::Completed { channel_id, monitor_update_id, .. } => {
9443+
self.channel_monitor_updated(&channel_id, monitor_update_id, &counterparty_node_id);
94449444
},
94459445
}
94469446
}

0 commit comments

Comments
 (0)