From 0a8cb900d8ce5f9be063256becaea897bb37fee5 Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Thu, 27 Jan 2022 10:21:52 -0600 Subject: [PATCH] f - fix clippy error --- lightning/src/routing/scoring.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 5faee4125..82e52755c 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -651,6 +651,7 @@ impl> DirectedChannelLiquidity { } impl> Score for ProbabilisticScorer { + #[allow(clippy::float_cmp)] fn channel_penalty_msat( &self, short_channel_id: u64, amount_msat: u64, capacity_msat: u64, source: &NodeId, target: &NodeId -- 2.39.5