Skip to content

Commit eb676f0

Browse files
committed
f: Introduce context for respond_with_reply_path
1 parent e4d5d07 commit eb676f0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lightning/src/ln/channelmanager.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -10620,7 +10620,10 @@ where
1062010620
};
1062110621

1062210622
match response {
10623-
Ok(invoice) => responder.respond_with_reply_path(OffersMessage::Invoice(invoice)),
10623+
Ok(invoice) => {
10624+
let context = MessageContext::Offers(OffersContext::Unknown {});
10625+
responder.respond_with_reply_path(OffersMessage::Invoice(invoice), context)
10626+
},
1062410627
Err(error) => responder.respond(OffersMessage::InvoiceError(error.into())),
1062510628
}
1062610629
},

0 commit comments

Comments
 (0)