]> Git Repo - VerusCoin.git/commitdiff
Test
authorjl777 <[email protected]>
Tue, 8 May 2018 16:00:21 +0000 (19:00 +0300)
committerjl777 <[email protected]>
Tue, 8 May 2018 16:00:21 +0000 (19:00 +0300)
src/miner.cpp

index a33085820965df1e77fa9040e1b11d692638dd1e..9c84f5f28b2287dc9e921e6cdb3e147d0e8852c8 100644 (file)
@@ -414,7 +414,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
             if ( (siglen= komodo_staked(txStaked,pblock->nBits,&blocktime,&txtime,&utxotxid,&utxovout,&utxovalue,utxosig)) > 0 )
             {
                 CAmount txfees = 0;
-                if ( GetAdjustedTime() < pblock->nTime-30 )
+                if ( GetAdjustedTime() < blocktime-30 )
                     return(0);
                 pblock->vtx.push_back(txStaked);
                 pblocktemplate->vTxFees.push_back(txfees);
This page took 0.027715 seconds and 4 git commands to generate.