This commit is contained in:
jl777
2016-11-15 17:57:55 -03:00
parent 8726269f8e
commit 38dfbe150a
3 changed files with 8 additions and 8 deletions

View File

@@ -400,7 +400,7 @@ CAmount CCoinsViewCache::GetValueIn(int32_t nHeight,int64_t *interestp,const CTr
#ifdef KOMODO_ENABLE_INTEREST
if ( value >= COIN )
{
if ( strcmp(ASSETCHAINS_SYMBOL,"REVS") == 0 )//&& nHeight >= 60000 )
if ( ASSETCHAINS_SYMBOL[0] == 0 && nHeight >= 60000 )
{
int64_t interest; int32_t txheight; uint32_t locktime;
interest = komodo_accrued_interest(&txheight,&locktime,tx.vin[i].prevout.hash,tx.vin[i].prevout.n,0,value);