feat: bolt12 ws (#1052)

This commit is contained in:
thesimplekid
2025-09-08 21:20:52 +01:00
committed by GitHub
parent 841e35d70f
commit 166b902833

View File

@@ -609,6 +609,9 @@ async fn configure_backend_for_unit(
Arc::clone(&backend), Arc::clone(&backend),
) )
.await?; .await?;
let nut17_supported = SupportedMethods::default_bolt12(unit.clone());
mint_builder = mint_builder.with_supported_websockets(nut17_supported);
} }
} }
@@ -630,7 +633,8 @@ async fn configure_backend_for_unit(
feature = "lnbits", feature = "lnbits",
feature = "lnd", feature = "lnd",
feature = "fakewallet", feature = "fakewallet",
feature = "grpc-processor" feature = "grpc-processor",
feature = "ldk-node"
))] ))]
{ {
let nut17_supported = SupportedMethods::default_bolt11(unit); let nut17_supported = SupportedMethods::default_bolt11(unit);