jl777 8 years ago
parent
commit
61ee243f5e
  1. 1
      iguana/dpow/dpow_rpc.c
  2. 1
      iguana/iguana_notary.c

1
iguana/dpow/dpow_rpc.c

@ -530,6 +530,7 @@ cJSON *dpow_withdraws_pending(struct dpow_info *dp)
pthread_mutex_lock(&dp->mutex); pthread_mutex_lock(&dp->mutex);
HASH_ITER(hh,PAX,pax,tmp); HASH_ITER(hh,PAX,pax,tmp);
{ {
printf("iter pax.%p\n",pax);
if ( pax->marked == 0 ) if ( pax->marked == 0 )
jaddi(retjson,dpow_paxjson(pax)); jaddi(retjson,dpow_paxjson(pax));
} }

1
iguana/iguana_notary.c

@ -289,6 +289,7 @@ STRING_ARG(dpow,pending,fiat)
for (i=0; i<myinfo->numdpows; i++) for (i=0; i<myinfo->numdpows; i++)
{ {
dp = &myinfo->DPOWS[i]; dp = &myinfo->DPOWS[i];
printf("i.%d (%s)\n",i,dp->symbol);
if ( strcmp(dp->symbol,base) == 0 ) if ( strcmp(dp->symbol,base) == 0 )
return(jprint(dpow_withdraws_pending(dp),1)); return(jprint(dpow_withdraws_pending(dp),1));
else printf("mismatched i.%d %s\n",i,dp->symbol); else printf("mismatched i.%d %s\n",i,dp->symbol);

Loading…
Cancel
Save