From cf3301c9290af580a04a8862421f6e67c5131a6c Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Fri, 21 Aug 2015 21:45:32 +0300 Subject: [PATCH] Remove VarStr, for now --- Novacoin/CTransaction.cs | 3 ++- Novacoin/VarStr.cs | 13 ------------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 Novacoin/VarStr.cs diff --git a/Novacoin/CTransaction.cs b/Novacoin/CTransaction.cs index 1c58089..8e1f871 100644 --- a/Novacoin/CTransaction.cs +++ b/Novacoin/CTransaction.cs @@ -91,11 +91,12 @@ namespace Novacoin { // Fill inputs array vin[nCurrentInput] = new CTxIn(); - + vin[nCurrentInput].prevout = new COutPoint(wBytes.GetItems(36)); int nScriptSigLen = (int)VarInt.ReadVarInt(ref wBytes); vin[nCurrentInput].scriptSig = new CScript(wBytes.GetItems(nScriptSigLen)); + vin[nCurrentInput].nSequence = BitConverter.ToUInt32(wBytes.GetItems(4), 0); } diff --git a/Novacoin/VarStr.cs b/Novacoin/VarStr.cs deleted file mode 100644 index 885e377..0000000 --- a/Novacoin/VarStr.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Novacoin -{ - public class VarStr - { - - } -} -- 1.7.1