diff --git a/BTCPayServer.Hwi/Deployment/HwiVersions.cs b/BTCPayServer.Hwi/Deployment/HwiVersions.cs index 9d4f6f4..0073db6 100644 --- a/BTCPayServer.Hwi/Deployment/HwiVersions.cs +++ b/BTCPayServer.Hwi/Deployment/HwiVersions.cs @@ -89,7 +89,7 @@ private static string GetFileHash(string processName) using (var stream = File.Open(processName, FileMode.Open, FileAccess.Read)) using (var bufferedStream = new BufferedStream(stream, 1024 * 32)) { - var sha = new SHA256Managed(); + var sha = SHA256.Create(); checksum = sha.ComputeHash(bufferedStream); } return Encoders.Hex.EncodeData(checksum); diff --git a/BTCPayServer.Vault/Version.csproj b/BTCPayServer.Vault/Version.csproj index 5ec3743..06b64e7 100644 --- a/BTCPayServer.Vault/Version.csproj +++ b/BTCPayServer.Vault/Version.csproj @@ -1,5 +1,5 @@  - 2.0.3 + 2.0.4