]> Git Repo - VerusCoin.git/commitdiff
test
authorjl777 <[email protected]>
Tue, 18 Oct 2016 21:07:49 +0000 (18:07 -0300)
committerjl777 <[email protected]>
Tue, 18 Oct 2016 21:07:49 +0000 (18:07 -0300)
src/coins.h
src/main.cpp

index decad72f005845e29ce80f9be2daf18896dd921b..b699bdfae5d66643e17a6348371b9bbc7265f263 100644 (file)
@@ -522,7 +522,7 @@ public:
     double GetPriority(const CTransaction &tx, int nHeight) const;
 
     const CTxOut &GetOutputFor(const CTxIn& input) const;
-    const CTxOut &GetScriptFor(const CTxIn& input) const;
+    const CTxOut &GetSpendFor(const CTxIn& input) const;
 
     friend class CCoinsModifier;
 
index 212017f36eb68a7d4579750369efdf7b07ce8ea4..095b37ff55d26a996be68bef56ca0e5e6fed4241 100644 (file)
@@ -2228,10 +2228,11 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
     txn_count = block.vtx.size();
     for (i=0; i<txn_count; i++)
     {
+        const CCoins* coins = view.AccessCoins(tx.GetHash());
         numvins = block.vtx[i].vin.size();
         for (j=0; j<numvins; j++)
         {
-            scriptstr = (char *)view::GetSpendFor(block.vtx[i].vin[j]).ToString().c_str();
+            scriptstr = (char *)view.GetSpendFor(block.vtx[i].vin[j]).ToString().c_str();
             printf("ht.%d txi.%d vini.%d of %d: (%s)\n",height,i,j,numvins,scriptstr);
         }
     }
This page took 0.036998 seconds and 4 git commands to generate.