Copy constructors for block, block header and hash classes
[NovacoinLibrary.git] / Novacoin / Hash256.cs
index a862cd5..f571f3d 100644 (file)
@@ -23,6 +23,8 @@ namespace Novacoin
         public Hash256() : base() { }
         public Hash256(byte[] bytes) : base(bytes) { }
         public Hash256(IEnumerable<byte> bytes) : base(bytes) { }
+        public Hash256(Hash256 h) : base(h) { }
+
 
         public static Hash256 Compute256(IEnumerable<byte> inputBytes)
         {