invoice: swap RouteHop for RouteHint
[rust-lightning] / lightning / src / routing / router.rs
index 0ad307cdf2f17bf1a347b535ebf5009e9a000c14..20028d217ef867ccdee175f0c68b53d01d05fa59 100644 (file)
@@ -117,7 +117,7 @@ impl Readable for Route {
 }
 
 /// A channel descriptor which provides a last-hop route to get_route
-#[derive(Clone)]
+#[derive(Eq, PartialEq, Debug, Clone)]
 pub struct RouteHint {
        /// The node_id of the non-target end of the route
        pub src_node_id: PublicKey,