This commit is contained in:
jl777
2016-10-22 11:56:19 -03:00
parent 24eefea8e0
commit fdbf481faf
5 changed files with 17 additions and 7 deletions

View File

@@ -397,7 +397,9 @@ CAmount CCoinsViewCache::GetValueIn(int64_t *interestp,const CTransaction& tx,ui
value = GetOutputFor(tx.vin[i]).nValue;
nResult += value;
interest = komodo_interest(value,tx.nLockTime,tiptime);
#ifdef KOMODO_ENABLE_INTEREST
nResult += interest;
#endif
(*interestp) += interest;
}
nResult += tx.GetJoinSplitValueIn();