Simplification of syntax
[NovacoinLibrary.git] / Novacoin / Hash256.cs
index f571f3d..bad52d7 100644 (file)
@@ -5,8 +5,6 @@ using System.Collections.Generic;
 
 using System.Security.Cryptography;
 
-
-
 namespace Novacoin
 {
        /// <summary>
@@ -21,8 +19,8 @@ namespace Novacoin
         }
 
         public Hash256() : base() { }
-        public Hash256(byte[] bytes) : base(bytes) { }
-        public Hash256(IEnumerable<byte> bytes) : base(bytes) { }
+        public Hash256(byte[] bytes, int offset=0) : base(bytes, offset) { }
+        public Hash256(IEnumerable<byte> bytes, int skip=0) : base(bytes, skip) { }
         public Hash256(Hash256 h) : base(h) { }