From: Matt Corallo Date: Wed, 21 Aug 2024 16:54:31 +0000 (+0000) Subject: Make `ResponseInstruction` `Clone`able X-Git-Tag: v0.0.124-rc1~15^2~6 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=4784bbf7d97d126bd52396b37f2afb20ee674ec8;p=rust-lightning Make `ResponseInstruction` `Clone`able --- diff --git a/lightning/src/onion_message/messenger.rs b/lightning/src/onion_message/messenger.rs index 8df16599e..7689aed0c 100644 --- a/lightning/src/onion_message/messenger.rs +++ b/lightning/src/onion_message/messenger.rs @@ -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,