This commit is contained in:
jl777
2016-11-15 11:38:03 -03:00
parent 49c9db6a51
commit b25d6fd160

View File

@@ -401,7 +401,7 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr
if ( strcmp(ASSETCHAINS_SYMBOL,"REVS") == 0 )//&& nHeight >= 60000 )
{
int64_t interest;
interest = komodo_accrued_interest(tx.vin[i].hash,tx.vin[i].n,nHeight,value);
interest = komodo_accrued_interest(GetOutputFor(tx.vin[i]).hash,GetOutputFor(tx.vin[i]).n,nHeight,value);
//interest = komodo_interest(nHeight,value,tx.nLockTime,tiptime);
//if ( interest != 0 || value >= COIN*100 )
{