Get rid of HexToList and HexToEnumerable functions
[NovacoinLibrary.git] / Novacoin / CScript.cs
index bbb2a61..3127ec6 100644 (file)
@@ -59,7 +59,7 @@ namespace Novacoin
         /// Initializes new instance of CScript and fills it with supplied bytes
         /// </summary>
         /// <param name="bytes">Enumerator interface for byte sequence</param>
-        public CScript(IEnumerable<byte> bytes)
+        public CScript(byte[] bytes)
         {
             codeBytes = new List<byte>(bytes);
         }