mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 22:44:29 +01:00
Fix hotwallet migration
This commit is contained in:
@@ -151,6 +151,7 @@ namespace BTCPayServer.Hosting
|
|||||||
{
|
{
|
||||||
paymentMethod.IsHotWallet = paymentMethod.Source == "NBXplorer";
|
paymentMethod.IsHotWallet = paymentMethod.Source == "NBXplorer";
|
||||||
paymentMethod.Source = "NBXplorerGenerated";
|
paymentMethod.Source = "NBXplorerGenerated";
|
||||||
|
store.SetSupportedPaymentMethod(paymentMethod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
await ctx.SaveChangesAsync();
|
await ctx.SaveChangesAsync();
|
||||||
|
|||||||
@@ -1,7 +1,10 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace BTCPayServer.Services
|
namespace BTCPayServer.Services
|
||||||
{
|
{
|
||||||
public class MigrationSettings
|
public class MigrationSettings
|
||||||
{
|
{
|
||||||
|
[JsonProperty("MigrateHotwalletProperty2")]
|
||||||
public bool MigrateHotwalletProperty { get; set; }
|
public bool MigrateHotwalletProperty { get; set; }
|
||||||
public bool MigrateU2FToFIDO2{ get; set; }
|
public bool MigrateU2FToFIDO2{ get; set; }
|
||||||
public bool UnreachableStoreCheck { get; set; }
|
public bool UnreachableStoreCheck { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user