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>
<Product>Liquid+</Product>
<Description>Enhanced support for the liquid network.</Description>
<Version>1.1.3</Version>
<Version>1.1.4</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup>

View File

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