Fix bug making it impossible to remove LTC xpub

This commit is contained in:
nicolas.dorier
2018-03-14 19:32:24 +09:00
parent cbd40d49c1
commit 9e2e102ec4
3 changed files with 3 additions and 4 deletions

View File

@@ -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
{