mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
Fix tx link in payment request
This commit is contained in:
parent
0277708b2a
commit
892d906ac7
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user