Browse Source

Fix Guid conversion error

pull/333/head
Ionite 1 year ago
parent
commit
34f2111b90
No known key found for this signature in database
  1. 2
      StabilityMatrix.Core/Extensions/HashExtensions.cs

2
StabilityMatrix.Core/Extensions/HashExtensions.cs

@ -6,6 +6,6 @@ public static class HashExtensions
{ {
public static Guid ToGuid(this Hash hash) public static Guid ToGuid(this Hash hash)
{ {
return new Guid(hash.AsSpan()); return new Guid(hash.AsSpan()[..16]);
} }
} }

Loading…
Cancel
Save