mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Fix bug making it impossible to remove LTC xpub
This commit is contained in:
@@ -65,7 +65,6 @@ namespace BTCPayServer.Controllers
|
||||
strategy = ParseDerivationStrategy(vm.DerivationScheme, vm.DerivationSchemeFormat, network);
|
||||
vm.DerivationScheme = strategy.ToString();
|
||||
}
|
||||
store.SetSupportedPaymentMethod(paymentMethodId, strategy);
|
||||
}
|
||||
catch
|
||||
{
|
||||
@@ -75,7 +74,7 @@ namespace BTCPayServer.Controllers
|
||||
}
|
||||
|
||||
|
||||
if (vm.Confirmation)
|
||||
if (vm.Confirmation || strategy == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user