Fix tx link in payment request

This commit is contained in:
nicolas.dorier 2019-11-07 16:12:05 +09:00
parent 0277708b2a
commit 892d906ac7
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -54,6 +54,7 @@ namespace BTCPayServer.Payments
throw new ArgumentNullException(nameof(txId));
if (network?.BlockExplorerLink == null)
return null;
txId = txId.Split('-').First();
return string.Format(CultureInfo.InvariantCulture, network.BlockExplorerLink, txId);
}
public override string InvoiceViewPaymentPartialName { get; } = "ViewBitcoinLikePaymentData";