Make M readonly
@@ -10,7 +10,7 @@ public static class ErgoConstants
public const decimal SmallestUnit = 1000000000;
public static readonly Regex RegexChain = new("ergo-([^-]+)-.+", RegexOptions.Compiled);
- public static byte[] M = Enumerable.Range(0, 1024)
+ public static readonly byte[] M = Enumerable.Range(0, 1024)
.Select(x => BitConverter.GetBytes((ulong) x).Reverse())
.SelectMany(byteArr => byteArr)
.ToArray();
