diff --git a/BTCPayServer/Hosting/MigrationStartupTask.cs b/BTCPayServer/Hosting/MigrationStartupTask.cs index de84b6448..fb02aef55 100644 --- a/BTCPayServer/Hosting/MigrationStartupTask.cs +++ b/BTCPayServer/Hosting/MigrationStartupTask.cs @@ -151,6 +151,7 @@ namespace BTCPayServer.Hosting { paymentMethod.IsHotWallet = paymentMethod.Source == "NBXplorer"; paymentMethod.Source = "NBXplorerGenerated"; + store.SetSupportedPaymentMethod(paymentMethod); } } await ctx.SaveChangesAsync(); diff --git a/BTCPayServer/Services/MigrationSettings.cs b/BTCPayServer/Services/MigrationSettings.cs index c8bec9c30..a66bb9e48 100644 --- a/BTCPayServer/Services/MigrationSettings.cs +++ b/BTCPayServer/Services/MigrationSettings.cs @@ -1,7 +1,10 @@ +using Newtonsoft.Json; + namespace BTCPayServer.Services { public class MigrationSettings { + [JsonProperty("MigrateHotwalletProperty2")] public bool MigrateHotwalletProperty { get; set; } public bool MigrateU2FToFIDO2{ get; set; } public bool UnreachableStoreCheck { get; set; }