This commit is contained in:
jl777
2016-11-11 20:15:05 -03:00
parent 6ed911ff39
commit 4a4e912bbe
10 changed files with 87 additions and 43 deletions

View File

@@ -400,7 +400,10 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr
interest = komodo_interest(nHeight,value,tx.nLockTime,tiptime);
#ifdef KOMODO_ENABLE_INTEREST
if ( ASSETCHAINS_SYMBOL[0] == 0 && nHeight >= 60000 )
{
printf("nResult %.8f += interest %.8f ht.%d lock.%u tip.%u\n",(double)nResult/COIN,(double)interest/COIN,nHeight,tx.nLockTime,tiptime);
nResult += interest;
}
#endif
(*interestp) += interest;
}