Skip to content

Commit 222cd42

Browse files
committed
Remove unused funding_txo parameter to channel_monitor_updated
1 parent 362ca65 commit 222cd42

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

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

76727672
let per_peer_state = self.per_peer_state.read().unwrap();
@@ -9471,8 +9471,8 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
94719471
}
94729472
}
94739473
},
9474-
MonitorEvent::Completed { funding_txo, channel_id, monitor_update_id } => {
9475-
self.channel_monitor_updated(&funding_txo, &channel_id, monitor_update_id, &counterparty_node_id);
9474+
MonitorEvent::Completed { channel_id, monitor_update_id, .. } => {
9475+
self.channel_monitor_updated(&channel_id, monitor_update_id, &counterparty_node_id);
94769476
},
94779477
}
94789478
}

0 commit comments

Comments
 (0)