Skip to content

Commit 71c0d56

Browse files
committed
Implement Debug/PartialEq/Eq for Destination
1 parent aaacaf4 commit 71c0d56

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)