This commit is contained in:
jl777
2016-11-04 09:16:44 -03:00
parent af38164562
commit 2d4c201cef
2 changed files with 4 additions and 2 deletions

View File

@@ -398,7 +398,8 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr
nResult += value;
interest = komodo_interest(nHeight,value,tx.nLockTime,tiptime);
#ifdef KOMODO_ENABLE_INTEREST
nResult += interest;
if ( nHeight >= 60000 )
nResult += interest;
#endif
(*interestp) += interest;
}