Limit duplicity on stake & Process orphans only if there are some.
[NovacoinLibrary.git] / Novacoin / CTxIn.cs
index 376f27f..480e1d1 100644 (file)
@@ -115,10 +115,10 @@ namespace Novacoin
         /// <summary>
         /// Serialized size
         /// </summary>
-        public int Size
+        public uint Size
         {
             get {
-                int nSize = 40; // COutPoint, nSequence
+                uint nSize = 40; // COutPoint, nSequence
                 nSize += VarInt.GetEncodedSize(scriptSig.Size);
                 nSize += scriptSig.Size;
 
@@ -162,7 +162,7 @@ namespace Novacoin
             }
             else
             {
-                sb.AppendFormat(", scriptsig={0}", scriptSig.ToString());
+                sb.AppendFormat(", scriptsig={0}", scriptSig);
             }
 
             if (nSequence != uint.MaxValue)