Skip to content

Commit 212acad

Browse files
committed
Allow forwarding to unannounced channels if LSP service is enabled
Previously, we'd always disallow forwarding to unannounced channels. However, if we're acting as an LSP, we *should* allow forwarding to unannounced channels.
1 parent f0338d1 commit 212acad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/builder.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,9 @@ fn build_with_store_internal(
10901090
// If we act as an LSPS2 service, we need to to be able to intercept HTLCs and forward the
10911091
// information to the service handler.
10921092
user_config.accept_intercept_htlcs = true;
1093+
1094+
// If we act as an LSPS2 service, we allow forwarding to unnannounced channels.
1095+
user_config.accept_forwards_to_priv_channels = true;
10931096
}
10941097

10951098
let message_router =

0 commit comments

Comments
 (0)