mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 05:54:26 +01:00
BlockExplorer links should be using payment method ids (#6273)
This commit is contained in:
@@ -362,7 +362,7 @@ namespace BTCPayServer.Controllers
|
||||
return View(settings);
|
||||
}
|
||||
settings.BlockExplorerLinks = settings.BlockExplorerLinks
|
||||
.Where(tuple => _transactionLinkProviders.GetDefaultBlockExplorerLink(tuple.CryptoCode) != tuple.Link)
|
||||
.Where(tuple => _transactionLinkProviders.GetDefaultBlockExplorerLink(tuple.PaymentMethodId) != tuple.Link)
|
||||
.Where(tuple => tuple.Link is not null)
|
||||
.ToList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user