This commit is contained in:
Kukks
2023-12-20 11:07:20 +01:00
parent 028e58d438
commit f177d75417
2 changed files with 5 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
<PropertyGroup> <PropertyGroup>
<Product>Liquid+</Product> <Product>Liquid+</Product>
<Description>Enhanced support for the liquid network.</Description> <Description>Enhanced support for the liquid network.</Description>
<Version>1.1.3</Version> <Version>1.1.4</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup> </PropertyGroup>

View File

@@ -65,7 +65,10 @@ namespace BTCPayServer.Plugins.LiquidPlus
{ {
var code = configuration.CryptoCode var code = configuration.CryptoCode
.Replace("-", "") .Replace("-", "")
.Replace("_", ""); .Replace("_", "").ToUpperInvariant();
if(code == "LBTC" || code == "USDT" || code == "ETB" || code == "LCAD")
return;
services.AddBTCPayNetwork(new ElementsBTCPayNetwork() services.AddBTCPayNetwork(new ElementsBTCPayNetwork()
{ {
CryptoCode = code, CryptoCode = code,