Skip to content

Commit 9246854

Browse files
committed
Remove unused funding_txo parameter to channel_monitor_updated
1 parent 97a3a50 commit 9246854

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
@@ -7638,7 +7638,7 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
76387638
(htlc_forwards, decode_update_add_htlcs)
76397639
}
76407640

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

76447644
let per_peer_state = self.per_peer_state.read().unwrap();
@@ -9443,8 +9443,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
94439443
}
94449444
}
94459445
},
9446-
MonitorEvent::Completed { funding_txo, channel_id, monitor_update_id } => {
9447-
self.channel_monitor_updated(&funding_txo, &channel_id, monitor_update_id, &counterparty_node_id);
9446+
MonitorEvent::Completed { channel_id, monitor_update_id, .. } => {
9447+
self.channel_monitor_updated(&channel_id, monitor_update_id, &counterparty_node_id);
94489448
},
94499449
}
94509450
}

0 commit comments

Comments
 (0)