]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Make `ResponseInstruction` `Clone`able
authorMatt Corallo <git@bluematt.me>
Wed, 21 Aug 2024 16:54:31 +0000 (16:54 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 22 Aug 2024 22:20:32 +0000 (22:20 +0000)
lightning/src/onion_message/messenger.rs

index 8df16599eb8f5e5f271125c75c60bc9c849c0f45..7689aed0c27c9cbd6fd6c6b3cce031dd13b35fc5 100644 (file)
@@ -384,6 +384,7 @@ impl Responder {
 }
 
 /// Instructions for how and where to send the response to an onion message.
+#[derive(Clone)]
 pub struct ResponseInstruction {
        send_path: BlindedMessagePath,
        context: Option<MessageContext>,