This commit is contained in:
jl777
2018-03-26 16:10:12 +03:00
parent 72070c9477
commit 2da1debd06
2 changed files with 4 additions and 6 deletions

View File

@@ -923,10 +923,7 @@ uint64_t komodo_accrued_interest(int32_t *txheightp,uint32_t *locktimep,uint256
{
uint64_t value; uint32_t tiptime=0,txheighttimep; CBlockIndex *pindex;
if ( (pindex= chainActive[tipheight]) != 0 )
{
tiptime = (uint32_t)pindex->nTime;
fprintf(stderr,"tipheight.%d -> %u\n",tipheight,tiptime);
}
else fprintf(stderr,"cant find height[%d]\n",tipheight);
if ( (*locktimep= komodo_interest_args(&txheighttimep,txheightp,&tiptime,&value,hash,n)) != 0 )
{