diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 9a2675245..234ae5ff6 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -733,6 +733,7 @@ int32_t LP_listunspent_both(char *symbol,char *coinaddr) } else { + //printf("my coin\n"); sprintf(buf,"[1, 99999999, [\"%s\"]]",coinaddr); if ( (array= bitcoin_json(coin,"listunspent",buf)) != 0 ) { diff --git a/iguana/exchanges/LP_rpc.c b/iguana/exchanges/LP_rpc.c index d941ed7ee..b8fb1688e 100644 --- a/iguana/exchanges/LP_rpc.c +++ b/iguana/exchanges/LP_rpc.c @@ -484,7 +484,7 @@ int32_t LP_listunspent_issue(char *symbol,char *coinaddr) { retstr = issue_LP_listunspent(destip,destport,symbol,coinaddr); retjson = cJSON_Parse(retstr); - } + } else printf("LP_listunspent_issue couldnt get a random peer?\n"); if ( retjson != 0 ) { n = cJSON_GetArraySize(retjson); @@ -492,6 +492,7 @@ int32_t LP_listunspent_issue(char *symbol,char *coinaddr) LP_postutxos(symbol,coinaddr); // might be good to not saturate } } + printf("issue listunspent %s (%s)\n",coinaddr,jprint(retjson,0)); if ( retjson != 0 ) free_json(retjson); if ( retstr != 0 )