This commit is contained in:
jl777
2018-04-09 22:22:12 +03:00
parent c4cd166396
commit 28d89a8620

View File

@@ -568,9 +568,10 @@ uint32_t komodo_txtime(uint64_t *valuep,uint256 hash,int32_t n)
#endif #endif
hashBlock, true)) hashBlock, true))
{ {
fprintf(stderr,"ERROR: %s/v%d locktime.%u\n",hash.ToString().c_str(),n,(uint32_t)tx.nLockTime);
return(0); return(0);
} }
//fprintf(stderr,"%s/v%d locktime.%u\n",hash.ToString().c_str(),n,(uint32_t)tx.nLockTime); fprintf(stderr,"%s/v%d locktime.%u\n",hash.ToString().c_str(),n,(uint32_t)tx.nLockTime);
if ( n < tx.vout.size() ) if ( n < tx.vout.size() )
*valuep = tx.vout[n].nValue; *valuep = tx.vout[n].nValue;
return(tx.nLockTime); return(tx.nLockTime);