Use implicit type casting operator for serialization.
[NovacoinLibrary.git] / Novacoin / CScriptID.cs
index c252f56..c2cbc1f 100644 (file)
@@ -22,7 +22,7 @@ namespace Novacoin
     {
         public CScriptID(Hash160 scriptHash)
         {
-            _hashBytes = scriptHash.hashBytes;
+            _hashBytes = scriptHash;
         }
 
         public override string ToString()