test
This commit is contained in:
@@ -501,7 +501,7 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin
|
||||
sum += price;
|
||||
nonz++;
|
||||
}
|
||||
if ( height < 150000 )
|
||||
if ( height < 1500 ) // set to future height
|
||||
break;
|
||||
}
|
||||
if ( nonz != 0 )
|
||||
|
||||
@@ -2510,7 +2510,7 @@ uint64_t komodo_interestsum()
|
||||
BOOST_FOREACH(const COutput& out,vecOutputs)
|
||||
{
|
||||
CAmount nValue = out.tx->vout[out.i].nValue;
|
||||
if ( out.tx->nLockTime != 0 )
|
||||
if ( out.tx->nLockTime != 0 && out.fSpendable != 0 )
|
||||
{
|
||||
BlockMap::iterator it = mapBlockIndex.find(pcoinsTip->GetBestBlock());
|
||||
CBlockIndex *tipindex,*pindex = it->second;
|
||||
|
||||
Reference in New Issue
Block a user