Skip to content

Commit

Permalink
Implement Debug/PartialEq/Eq for Destination
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Feb 10, 2024
1 parent aaacaf4 commit 71c0d56
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 71c0d56

Please sign in to comment.