Copy constructors for block, block header and hash classes
[NovacoinLibrary.git] / Novacoin / ScryptHash256.cs
index c479b0d..ca804fd 100644 (file)
@@ -18,6 +18,7 @@ namespace Novacoin
         public ScryptHash256() : base() { }
         public ScryptHash256(byte[] bytes) : base(bytes) { }
         public ScryptHash256(IEnumerable<byte> bytes) : base(bytes) { }
+        public ScryptHash256(ScryptHash256 h) : base(h) { }
 
         /// <summary>
         /// Calculate scrypt hash and return new instance of ScryptHash256 class