@ -149,7 +149,7 @@ void LP_cacheptrs_init(struct iguana_info *coin)
}
printf("loaded %s %d entries total len.%ld\n",fname,count,len);
fclose(fp);
} else printf("couldnt find.(%s)\n",fname);
} //else printf("couldnt find.(%s)\n",fname);
if ( tflag != 0 )
OS_truncate(fname,len);
@ -649,7 +649,7 @@ int32_t LP_validSPV(char *symbol,char *coinaddr,bits256 txid,int32_t vout)
backupep = ep;
up->SPV = LP_merkleproof(coin,backupep,up->U.txid,up->U.height);
if ( up->SPV <= 0 )
return(-1);
return(up->SPV);
return(0);
@ -1047,7 +1047,7 @@ cJSON *LP_electrumserver(struct iguana_info *coin,char *ipaddr,uint16_t port)
else
{
printf("launched %s electrum.(%s:%u)\n",coin->symbol,ep->ipaddr,ep->port);
//printf("launched %s electrum.(%s:%u)\n",coin->symbol,ep->ipaddr,ep->port);
jaddstr(retjson,"result","success");
ep->prev = coin->electrum;
coin->electrum = ep;