We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c172251 commit 010b2b9Copy full SHA for 010b2b9
lightning/src/offers/flow.rs
@@ -1177,9 +1177,14 @@ where
1177
where
1178
ES::Target: EntropySource,
1179
{
1180
- // In the future, we should support multi-hop paths here.
1181
let context =
1182
MessageContext::AsyncPayments(AsyncPaymentsContext::ReleaseHeldHtlc { intercept_id });
+ if let Ok(mut paths) = self.create_blinded_paths(context.clone()) {
1183
+ if let Some(path) = paths.pop() {
1184
+ return path;
1185
+ }
1186
1187
+
1188
let num_dummy_hops = PADDED_PATH_LENGTH.saturating_sub(1);
1189
BlindedMessagePath::new_with_dummy_hops(
1190
&[],
0 commit comments