This commit is contained in:
jl777
2017-03-24 01:27:03 +02:00
parent 7d44d3dddd
commit 58bec1f9b5
2 changed files with 3 additions and 1 deletions

View File

@@ -761,6 +761,8 @@ int32_t komodo_validate_interest(uint32_t *expiredp,const CTransaction& tx,int32
} else fprintf(stderr,"validateinterest grandfather.%d locktime %u vs txheighttime.%u tiptime.%u txb.%u cmp.%u\n",(int32_t)txheight,tx.nLockTime,txheighttime,tiptime,txblocktime,cmptime);
}
}*/
if ( txheightarg == 0 )
txheightarg = chainActive.Tip()->nHeight + 1;
if ( (cmptime= komodo_heightstamp(txheightarg-1)) == 0 )
{
cmptime = chainActive.Tip()->nTime;