diff --git a/BTCPayServer.Plugins.Boltz/BoltzLightningClient.cs b/BTCPayServer.Plugins.Boltz/BoltzLightningClient.cs index b4e5562..66f41b7 100644 --- a/BTCPayServer.Plugins.Boltz/BoltzLightningClient.cs +++ b/BTCPayServer.Plugins.Boltz/BoltzLightningClient.cs @@ -247,6 +247,7 @@ public async Task Pay(PayInvoiceParams payParams, public async Task Pay(string bolt11, CancellationToken cancellation = default) { + throw new InvalidOperationException("paying invoices through boltz is temporarily disabled"); var invoice = BOLT11PaymentRequest.Parse(bolt11, network); if (invoice.MinimumAmount == 0) { @@ -281,8 +282,7 @@ public async Task Pay(string bolt11, CancellationToken cancellation return new PayResponse(PayResult.Ok, payDetails); } - // FIXME: reduce to 15 again once v2.0.1 is released - var source = new CancellationTokenSource(TimeSpan.FromSeconds(70)); + var source = new CancellationTokenSource(TimeSpan.FromSeconds(15)); cancellation.Register(source.Cancel); try {