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 aee7f562defc5915517d696cf032353deee4e3d6..29133c4be27c8da1c7628e4214c07cc64909fb2c 100644
(file)
--- a/
lightning/src/onion_message/functional_tests.rs
+++ b/
lightning/src/onion_message/functional_tests.rs
@@
-236,6
+236,7
@@
fn reply_path() {
fn invalid_custom_message_type() {
let nodes = create_nodes(2);
+ #[derive(Clone)]
struct InvalidCustomMessage{}
impl CustomOnionMessageContents for InvalidCustomMessage {
fn tlv_type(&self) -> u64 {