We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
accept_intercept_htlcs
Builder
1 parent dc541a6 commit 2889aadCopy full SHA for 2889aad
1 file changed
src/builder.rs
@@ -1077,6 +1077,12 @@ fn build_with_store_internal(
1077
100;
1078
}
1079
1080
+ if liquidity_source_config.and_then(|lsc| lsc.lsps2_service.as_ref()).is_some() {
1081
+ // If we act as an LSPS2 service, we need to to be able to intercept HTLCs and forward the
1082
+ // information to the service handler.
1083
+ user_config.accept_intercept_htlcs = true;
1084
+ }
1085
+
1086
let message_router =
1087
Arc::new(MessageRouter::new(Arc::clone(&network_graph), Arc::clone(&keys_manager)));
1088
0 commit comments