Skip to content

Commit 336f43d

Browse files
committed
f - fix clippy error
1 parent 560d4f0 commit 336f43d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/routing/scoring.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,7 @@ impl<L: DerefMut<Target = u64>> DirectedChannelLiquidity<L> {
650650
}
651651

652652
impl<G: Deref<Target = NetworkGraph>> Score for ProbabilisticScorer<G> {
653+
#[allow(clippy::float_cmp)]
653654
fn channel_penalty_msat(
654655
&self, short_channel_id: u64, amount_msat: u64, capacity_msat: u64, source: &NodeId,
655656
target: &NodeId

0 commit comments

Comments
 (0)