Merge pull request #1934 from TheBlueMatt/2022-12-113-bindings-upstream
[rust-lightning] / lightning / src / routing / router.rs
index 4b5ff2f0a7588b41aa42262184eaa91af9c6c607..6fc3d4afa7b2c6a2eccf28c93368487a92897791 100644 (file)
@@ -181,6 +181,7 @@ impl<S: Score> Score for ScorerAccountingForInFlightHtlcs<S> {
 
 /// A data structure for tracking in-flight HTLCs. May be used during pathfinding to account for
 /// in-use channel liquidity.
+#[derive(Clone)]
 pub struct InFlightHtlcs(
        // A map with liquidity value (in msat) keyed by a short channel id and the direction the HTLC
        // is traveling in. The direction boolean is determined by checking if the HTLC source's public