This commit is contained in:
jl777
2018-07-14 12:42:51 -11:00
parent d3ce166fb8
commit 6e7dcf3106

View File

@@ -4695,8 +4695,8 @@ int32_t komodo_staked(CMutableTransaction &txNew,uint32_t nBits,uint32_t *blockt
if ( (minage= nHeight*3) > 6000 ) // about 100 blocks
minage = 6000;
komodo_segids(hashbuf,nHeight-101,100);
if ( blocktime > tipindex->nTime+60 )
blocktime = tipindex->nTime+60;
if ( *blocktimep > tipindex->nTime+60 )
*blocktimep = tipindex->nTime+60;
fprintf(stderr,"Start scan of utxo for staking %u ht.%d\n",(uint32_t)time(NULL),nHeight);
if ( time(NULL) > lasttime+100 )
{