New constructor for block header class
[NovacoinLibrary.git] / Novacoin / Hash.cs
index fbff17f..e013e8b 100644 (file)
@@ -43,7 +43,7 @@ namespace Novacoin
         /// <param name="bytesList">List of bytes</param>
         public Hash(IEnumerable<byte> bytes)
         {
-            _hashBytes = bytes.Take<byte>(hashSize).ToArray<byte>();
+            _hashBytes = bytes.Take(hashSize).ToArray();
         }
 
         public Hash(byte[] bytes)