Remove unnecessary scoring methods from Router trait
[rust-lightning] / lightning / src / routing / gossip.rs
index a499532e6a94a8c46016afb3d367ceab4461f633..6c2d70bd6f309ed429af45876666673fc6421a35 100644 (file)
@@ -968,7 +968,7 @@ impl<'a> fmt::Debug for DirectedChannelInfo<'a> {
 ///
 /// While this may be smaller than the actual channel capacity, amounts greater than
 /// [`Self::as_msat`] should not be routed through the channel.
-#[derive(Clone, Copy, Debug)]
+#[derive(Clone, Copy, Debug, PartialEq)]
 pub enum EffectiveCapacity {
        /// The available liquidity in the channel known from being a channel counterparty, and thus a
        /// direct hop.