]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Sat, 7 Apr 2018 12:48:51 +0000 (15:48 +0300)
committerjl777 <[email protected]>
Sat, 7 Apr 2018 12:48:51 +0000 (15:48 +0300)
src/main.cpp

index a0b4084e8f1e536c5dd5e95f92dd461a48bea07a..fd9443f7c0517d58d2ac25af0de272fc8f14d3af 100644 (file)
@@ -2591,8 +2591,8 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
         if ( (checktoshis = komodo_commission(block)) != 0 )
         {
             if ( block.vtx[0].vout.size() == 2 && block.vtx[0].vout[1].nValue == checktoshis )
-            {
-            else fprintf(stderr,"checktoshis %.8f vs actual vout[1] %.8f\n",dstr(checktoshis),dstr(block.vtx[0].vout[1].nValue));
+                blockReward += checktoshis;
+            else fprintf(stderr,"checktoshis %.8f vs actual vout[1] %.8f\n",dstr(checktoshis),dstr(block.vtx[0].vout[1].nValue));
         }
     }
     if ( block.vtx[0].GetValueOut() > blockReward+1 )
This page took 0.040983 seconds and 4 git commands to generate.