Browse Source

Test

etomic
jl777 8 years ago
parent
commit
0eae00f345
  1. 2
      iguana/exchanges/LP_commands.c
  2. 2
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_commands.c

@ -300,7 +300,7 @@ char *stats_JSON(cJSON *argjson,char *remoteaddr,uint16_t port) // from rpc port
else if ( IAMCLIENT == 0 && strcmp(method,"getutxos") == 0 && (coin= jstr(argjson,"coin")) != 0 )
{
retstr = LP_utxos(LP_mypeer,coin,jint(argjson,"lastn"));
printf("RETURN.(%s)\n",retstr);
//printf("RETURN.(%s)\n",retstr);
}
else if ( IAMCLIENT == 0 && strcmp(method,"notify") == 0 )
retstr = clonestr("{\"result\":\"success\",\"notify\":\"received\"}");

2
iguana/exchanges/LP_utxos.c

@ -184,7 +184,7 @@ int32_t LP_utxosparse(int32_t amclient,struct LP_peerinfo *mypeer,int32_t mypubs
if ( utxo != 0 )
utxo->lasttime = now;
}
} else printf("skip.(%s)\n",jprint(item,0));
} // else printf("skip.(%s)\n",jprint(item,0));
}
if ( (destpeer= LP_peerfind((uint32_t)calc_ipbits(destipaddr),destport)) != 0 )
{

Loading…
Cancel
Save