projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the custom message traits cloneable as they're deep in nested structs
[rust-lightning]
/
lightning
/
src
/
onion_message
/
functional_tests.rs
diff --git
a/lightning/src/onion_message/functional_tests.rs
b/lightning/src/onion_message/functional_tests.rs
index 0193001b30c0d5ca4fc0421b27470a9fab81d0de..283aa027f01fb00934575faffeeb76e91931d4b2 100644
(file)
--- a/
lightning/src/onion_message/functional_tests.rs
+++ b/
lightning/src/onion_message/functional_tests.rs
@@
-380,6
+380,7
@@
fn reply_path() {
fn invalid_custom_message_type() {
let nodes = create_nodes(2);
+ #[derive(Clone)]
struct InvalidCustomMessage{}
impl OnionMessageContents for InvalidCustomMessage {
fn tlv_type(&self) -> u64 {