From ae4b2ab1fd15ab20e13ffae42240b3c2ff66b50c Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Mon, 3 Jun 2019 16:46:35 +0900 Subject: [PATCH] Fix #875 --- BTCPayServer/HostedServices/MigratorHostedService.cs | 4 ++++ Version.csproj | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/HostedServices/MigratorHostedService.cs b/BTCPayServer/HostedServices/MigratorHostedService.cs index c509bd8de..3d897d788 100644 --- a/BTCPayServer/HostedServices/MigratorHostedService.cs +++ b/BTCPayServer/HostedServices/MigratorHostedService.cs @@ -93,6 +93,7 @@ namespace BTCPayServer.HostedServices foreach (var store in await ctx.Stores.ToArrayAsync()) { #pragma warning disable CS0618 // Type or member is obsolete + _StoreRepository.PrepareEntity(store); var blob = store.GetStoreBlob(); if (blob.WalletKeyPathRoots == null) continue; @@ -138,6 +139,7 @@ namespace BTCPayServer.HostedServices { foreach (var store in await ctx.Stores.ToArrayAsync()) { + _StoreRepository.PrepareEntity(store); var blob = store.GetStoreBlob(); #pragma warning disable CS0618 // Type or member is obsolete if (blob.NetworkFeeDisabled != null) @@ -158,6 +160,7 @@ namespace BTCPayServer.HostedServices { foreach (var store in await ctx.Stores.ToArrayAsync()) { + _StoreRepository.PrepareEntity(store); var blob = store.GetStoreBlob(); #pragma warning disable CS0612 // Type or member is obsolete decimal multiplier = 1.0m; @@ -188,6 +191,7 @@ namespace BTCPayServer.HostedServices { foreach (var store in await ctx.Stores.ToArrayAsync()) { + _StoreRepository.PrepareEntity(store); foreach (var method in store.GetSupportedPaymentMethods(_NetworkProvider).OfType()) { var lightning = method.GetLightningUrl(); diff --git a/Version.csproj b/Version.csproj index 2bdb2a282..4ca257422 100644 --- a/Version.csproj +++ b/Version.csproj @@ -1,5 +1,5 @@ - 1.0.3.107 + 1.0.3.108