Fix hotwallet migration

This commit is contained in:
nicolas.dorier 2021-08-10 12:07:13 +09:00
parent a27217dc62
commit fa96deb1de
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
2 changed files with 4 additions and 0 deletions

View file

@ -151,6 +151,7 @@ namespace BTCPayServer.Hosting
{
paymentMethod.IsHotWallet = paymentMethod.Source == "NBXplorer";
paymentMethod.Source = "NBXplorerGenerated";
store.SetSupportedPaymentMethod(paymentMethod);
}
}
await ctx.SaveChangesAsync();

View file

@ -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; }