From cfb55edbbc77a73d6859ee64c3198b38e8150452 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Apr 2018 13:25:22 +0300 Subject: [PATCH] Test --- src/miner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index d793cd92f..62dc915d6 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -392,8 +392,8 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn) { uint64_t txfees,utxovalue; uint32_t txtime; uint256 utxotxid,revtxid; int32_t i,siglen,numsigs,utxovout; uint8_t utxosig[128],*ptr; CMutableTransaction txStaked = CreateNewContextualCMutableTransaction(Params().GetConsensus(), chainActive.Height() + 1); - if ( blocktime > pindexPrev->GetMedianTimePast()+60 ) - blocktime = pindexPrev->GetMedianTimePast() + 60; + //if ( blocktime > pindexPrev->GetMedianTimePast()+60 ) + // blocktime = pindexPrev->GetMedianTimePast() + 60; if ( (siglen= komodo_staked(txStaked,pblock->nBits,&blocktime,&txtime,&utxotxid,&utxovout,&utxovalue,utxosig)) > 0 ) { CAmount txfees = 0;