projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aaacaf4
)
Implement `Debug`/`PartialEq`/`Eq` for `Destination`
author
Matt Corallo
<git@bluematt.me>
Sat, 10 Feb 2024 02:27:59 +0000
(
02:27
+0000)
committer
Matt Corallo
<git@bluematt.me>
Sat, 10 Feb 2024 02:27:59 +0000
(
02:27
+0000)
lightning/src/onion_message/messenger.rs
patch
|
blob
|
history
diff --git
a/lightning/src/onion_message/messenger.rs
b/lightning/src/onion_message/messenger.rs
index f2bb685f8bb2c1297443f57808a3ce7b284db412..0a38022dbb5883cdcf06a5e3340a68079ae9f23c 100644
(file)
--- 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),