Make ResponseInstruction Cloneable

This commit is contained in:
Matt Corallo 2024-08-21 16:54:31 +00:00
parent 2695331686
commit 4784bbf7d9

View file

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