Fix: Test Connection for lightning setup was hidding cause of failure

This commit is contained in:
nicolas.dorier
2021-11-04 23:26:29 +09:00
parent 2afd02152d
commit c921b2ca7b
2 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ namespace BTCPayServer.Controllers
var handler = _ServiceProvider.GetRequiredService<LightningLikePaymentHandler>();
try
{
var info = await handler.GetNodeInfo(paymentMethod, network, new InvoiceLogs(), Request.IsOnion());
var info = await handler.GetNodeInfo(paymentMethod, network, new InvoiceLogs(), Request.IsOnion(), true);
if (!vm.SkipPortTest)
{
using var cts = new CancellationTokenSource(TimeSpan.FromSeconds(20));