Skip to content

Commit 0c2a715

Browse files
authored
Merge pull request #2888 from TheBlueMatt/2024-02-destination-eq
Implement `Debug`/`PartialEq`/`Eq` for `Destination`
2 parents d70124c + 71c0d56 commit 0c2a715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/onion_message/messenger.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ impl OnionMessagePath {
413413
}
414414

415415
/// The destination of an onion message.
416-
#[derive(Clone)]
416+
#[derive(Clone, Debug, PartialEq, Eq)]
417417
pub enum Destination {
418418
/// We're sending this onion message to a node.
419419
Node(PublicKey),

0 commit comments

Comments
 (0)