From: Matt Corallo Date: Sat, 10 Feb 2024 02:27:59 +0000 (+0000) Subject: Implement `Debug`/`PartialEq`/`Eq` for `Destination` X-Git-Tag: v0.0.123-beta~70^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=71c0d564150184946091ec6e3ab8075a615e052b;p=rust-lightning Implement `Debug`/`PartialEq`/`Eq` for `Destination` --- diff --git a/lightning/src/onion_message/messenger.rs b/lightning/src/onion_message/messenger.rs index f2bb685f8..0a38022db 100644 --- a/lightning/src/onion_message/messenger.rs +++ b/lightning/src/onion_message/messenger.rs @@ -413,7 +413,7 @@ impl OnionMessagePath { } /// The destination of an onion message. -#[derive(Clone)] +#[derive(Clone, Debug, PartialEq, Eq)] pub enum Destination { /// We're sending this onion message to a node. Node(PublicKey),