From: Jeffrey Czyz Date: Thu, 27 Jan 2022 16:21:52 +0000 (-0600) Subject: f - fix clippy error X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=0a8cb900d8ce5f9be063256becaea897bb37fee5;p=rust-lightning f - fix clippy error --- 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