Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Jun 20, 2022
1 parent 938e4c8 commit 2085d84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BTCPayServer.Hwi/Deployment/HwiVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion BTCPayServer.Vault/Version.csproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Version>2.0.3</Version>
<Version>2.0.4</Version>
</PropertyGroup>
</Project>

0 comments on commit 2085d84

Please sign in to comment.