From b25d6fd16048c24352cef927ba967eaf8bc059ce Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 11:38:03 -0300 Subject: [PATCH] test --- src/coins.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coins.cpp b/src/coins.cpp index ba9bd51e9..2b73f3ebf 100644 --- a/src/coins.cpp +++ b/src/coins.cpp @@ -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 ) {