From 71c0d564150184946091ec6e3ab8075a615e052b Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 10 Feb 2024 02:27:59 +0000 Subject: [PATCH] Implement `Debug`/`PartialEq`/`Eq` for `Destination` --- lightning/src/onion_message/messenger.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- 2.39.5