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[] {}; }