From 61ee243f5e91c8ca522175da8088e0b03c61baf4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 6 Nov 2016 18:15:54 -0300 Subject: [PATCH] test --- iguana/dpow/dpow_rpc.c | 1 + iguana/iguana_notary.c | 1 + 2 files changed, 2 insertions(+) diff --git a/iguana/dpow/dpow_rpc.c b/iguana/dpow/dpow_rpc.c index 13b94438b..922335166 100755 --- a/iguana/dpow/dpow_rpc.c +++ b/iguana/dpow/dpow_rpc.c @@ -530,6 +530,7 @@ cJSON *dpow_withdraws_pending(struct dpow_info *dp) pthread_mutex_lock(&dp->mutex); HASH_ITER(hh,PAX,pax,tmp); { + printf("iter pax.%p\n",pax); if ( pax->marked == 0 ) jaddi(retjson,dpow_paxjson(pax)); } diff --git a/iguana/iguana_notary.c b/iguana/iguana_notary.c index d272ad210..e749f7fef 100755 --- a/iguana/iguana_notary.c +++ b/iguana/iguana_notary.c @@ -289,6 +289,7 @@ STRING_ARG(dpow,pending,fiat) for (i=0; inumdpows; i++) { dp = &myinfo->DPOWS[i]; + printf("i.%d (%s)\n",i,dp->symbol); if ( strcmp(dp->symbol,base) == 0 ) return(jprint(dpow_withdraws_pending(dp),1)); else printf("mismatched i.%d %s\n",i,dp->symbol);