This commit is contained in:
jl777
2017-03-22 10:40:23 +02:00
parent 64a80d7658
commit 57010b98ff

View File

@@ -713,8 +713,7 @@ bool IsFinalTx(const CTransaction &tx, int nBlockHeight, int64_t nBlockTime,int
return true;
if ( ASSETCHAINS_SYMBOL[0] == 0 && flags == STANDARD_LOCKTIME_VERIFY_FLAGS && (int64_t)tx.nLockTime >= LOCKTIME_THRESHOLD && (int64_t)tx.nLockTime < nBlockTime-3600 )
{
//if ( nBlockTime >= 1490159171 ) // 246748
if ( nBlockHeight > 246748 )
if ( nBlockTime >= 1490159171 ) // 246748
{
fprintf(stderr,"[%d] IsFinalTx reject locktime %u vs nBlockTime %u\n",(int32_t)(tx.nLockTime-nBlockTime),tx.nLockTime,(uint32_t)nBlockTime);
return(false); // need to prevent pastdating tx
@@ -875,8 +874,7 @@ int32_t komodo_validate_interest(const CTransaction& tx)
tiptime = chainActive.Tip()->nTime;
if ( (int64_t)tx.nLockTime < tiptime-3600 )
{
//if ( tiptime > 1490159171 ) // 246748
if ( txheight > 246748 )
if ( tiptime > 1490159171 ) // 246748
{
static uint32_t counter;
if ( counter++ < 100 )