Keep track of inflight HTLCs across payments
[rust-lightning] / lightning / src / routing / gossip.rs
index 160609216e84bc2c36ee0f1d2f6388fff657d9ac..637a8c046ed2944bb3f32ceb348584881666c1ec 100644 (file)
@@ -915,7 +915,7 @@ impl<'a> fmt::Debug for DirectedChannelInfoWithUpdate<'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)]
+#[derive(Clone, Copy, Debug)]
 pub enum EffectiveCapacity {
        /// The available liquidity in the channel known from being a channel counterparty, and thus a
        /// direct hop.