From 97fda9d362fc78568701cb0b41ce3706cff8ef52 Mon Sep 17 00:00:00 2001 From: Kukks Date: Wed, 13 Dec 2023 13:40:18 +0100 Subject: [PATCH] not lndhub specific --- BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs b/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs index 87b738a4f..29097929d 100644 --- a/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs +++ b/BTCPayServer/Payments/Lightning/LightningLikePaymentHandler.cs @@ -142,7 +142,7 @@ namespace BTCPayServer.Payments.Lightning { throw new PaymentMethodUnavailableException("The lightning node did not reply in a timely manner"); } - catch (NotSupportedException) when (isLndHub) + catch (NotSupportedException) { return new NodeInfo[] {}; }