Skip to content

Commit 4e61bb3

Browse files
committed
Remove unused funding_txo parameter to channel_monitor_updated
1 parent 5d228b2 commit 4e61bb3

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

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

76577657
let per_peer_state = self.per_peer_state.read().unwrap();
@@ -9456,8 +9456,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
94569456
}
94579457
}
94589458
},
9459-
MonitorEvent::Completed { funding_txo, channel_id, monitor_update_id } => {
9460-
self.channel_monitor_updated(&funding_txo, &channel_id, monitor_update_id, &counterparty_node_id);
9459+
MonitorEvent::Completed { channel_id, monitor_update_id, .. } => {
9460+
self.channel_monitor_updated(&channel_id, monitor_update_id, &counterparty_node_id);
94619461
},
94629462
}
94639463
}

0 commit comments

Comments
 (0)