Merge pull request #3012 from TheBlueMatt/2024-04-0.0.123-rl
[rust-lightning] / lightning / src / blinded_path / mod.rs
index 3b4eac883646da74c7aa886066632840b622894d..3dc6b121b006b80f95f05bfb59f23a5ff0764b98 100644 (file)
@@ -27,7 +27,7 @@ use crate::prelude::*;
 /// The next hop to forward an onion message along its path.
 ///
 /// Note that payment blinded paths always specify their next hop using an explicit node id.
-#[derive(Debug)]
+#[derive(Clone, Debug, Hash, PartialEq, Eq)]
 pub enum NextMessageHop {
        /// The node id of the next hop.
        NodeId(PublicKey),