This commit is contained in:
jl777
2017-03-23 23:20:31 +02:00
parent b9551735cf
commit 9a9b36ca7e

View File

@@ -719,6 +719,8 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,uint3
if ( (prev= komodo_chainactive(txheight-1)) != 0 )
prevblocktime = prev->nTime;
}
if ( txheight == 0 )
txheight = (int32_t)chainActive.Tip()->nHeight + 1;
if ( tiptime == 0 )
tiptime = (int32_t)chainActive.Tip()->nTime;
if ( txheighttime == 0 )