- /// If its for a remote update check, we need to be more lax about checking against messages we
- /// sent but they may not have received/processed before they sent this message. Further, for
- /// our own sends, we're more conservative and even consider things they've removed against
- /// totals, though there is little reason to outside of further avoiding any race condition
- /// issues.
- fn get_outbound_pending_htlc_stats(&self, for_remote_update_check: bool) -> (u32, u64) {
- let mut outbound_htlc_count: u32 = 0;