X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fblinded_path%2Fmod.rs;h=3dc6b121b006b80f95f05bfb59f23a5ff0764b98;hb=74c9f9b1832fdb2f6e85af12d27cfaab9fe14154;hp=3b4eac883646da74c7aa886066632840b622894d;hpb=89a67e59ab11b41033632d174e32fe479b32fdc3;p=rust-lightning diff --git a/lightning/src/blinded_path/mod.rs b/lightning/src/blinded_path/mod.rs index 3b4eac88..3dc6b121 100644 --- a/lightning/src/blinded_path/mod.rs +++ b/lightning/src/blinded_path/mod.rs @@ -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),