Skip to content

Commit

Permalink
Merge pull request lightningdevkit#2888 from TheBlueMatt/2024-02-dest…
Browse files Browse the repository at this point in the history
…ination-eq

Implement `Debug`/`PartialEq`/`Eq` for `Destination`
  • Loading branch information
tnull authored Feb 12, 2024
2 parents d70124c + 71c0d56 commit 0c2a715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/onion_message/messenger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0c2a715

Please sign in to comment.