Removal of ReadVarInt
[NovacoinLibrary.git] / Novacoin / CBlock.cs
index 8f6fb76..82a8b88 100644 (file)
@@ -51,7 +51,7 @@ namespace Novacoin
             vtx = CTransaction.ReadTransactionsList(ref wBytes);
 
             // Read block signature
-            signature = wBytes.Get((int)VarInt.ReadVarInt(ref wBytes));
+            signature = wBytes.Get((int)wBytes.GetVarInt());
                }
 
         public CBlock()