mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 23:54:26 +01:00
update and fix
This commit is contained in:
@@ -66,8 +66,11 @@ namespace BTCPayServer.Plugins.LiquidPlus
|
||||
.Replace("-", "")
|
||||
.Replace("_", "").ToUpperInvariant();
|
||||
|
||||
if(code == "LBTC" || code == "USDT" || code == "ETB" || code == "LCAD")
|
||||
if(code == "LBTC" || code == "USDT" || code == "LCAD")
|
||||
return;
|
||||
|
||||
|
||||
var pmi2 = PaymentTypes.CHAIN.GetPaymentMethodId(code);
|
||||
services.AddBTCPayNetwork(new ElementsBTCPayNetwork()
|
||||
{
|
||||
CryptoCode = code,
|
||||
@@ -90,7 +93,8 @@ namespace BTCPayServer.Plugins.LiquidPlus
|
||||
VaultSupported = template.VaultSupported,
|
||||
MaxTrackedConfirmation = template.MaxTrackedConfirmation,
|
||||
SupportRBF = template.SupportRBF
|
||||
}).AddTransactionLinkProvider(code, tlProvider.Provider);
|
||||
});
|
||||
services.AddSingleton(tlProvider with {PaymentMethodId = pmi2});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user