mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
Fix hotwallet migration 2
This commit is contained in:
parent
fa96deb1de
commit
bc4945c584
@ -150,8 +150,11 @@ namespace BTCPayServer.Hosting
|
||||
foreach (var paymentMethod in store.GetSupportedPaymentMethods(_NetworkProvider).OfType<DerivationSchemeSettings>())
|
||||
{
|
||||
paymentMethod.IsHotWallet = paymentMethod.Source == "NBXplorer";
|
||||
paymentMethod.Source = "NBXplorerGenerated";
|
||||
store.SetSupportedPaymentMethod(paymentMethod);
|
||||
if (paymentMethod.IsHotWallet)
|
||||
{
|
||||
paymentMethod.Source = "NBXplorerGenerated";
|
||||
store.SetSupportedPaymentMethod(paymentMethod);
|
||||
}
|
||||
}
|
||||
}
|
||||
await ctx.SaveChangesAsync();
|
||||
|
Loading…
Reference in New Issue
Block a user