mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix tx link in payment request
This commit is contained in:
parent
0277708b2a
commit
892d906ac7
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue