jl777 8 years ago
parent
commit
6da5e47e7d
  1. 6
      iguana/dpow/dpow_rpc.c

6
iguana/dpow/dpow_rpc.c

@ -564,9 +564,11 @@ void dpow_issuer_withdraw(struct dpow_info *dp,char *coinaddr,uint64_t fiatoshis
} }
HASH_FIND(hh,dp->PAX,&txid,sizeof(txid),pax); HASH_FIND(hh,dp->PAX,&txid,sizeof(txid),pax);
printf("hashfind.%p PAX.(%p %p)\n",pax,dp->PAX->hh.next,dp->PAX->hh.prev); printf("hashfind.%p PAX.(%p %p)\n",pax,dp->PAX->hh.next,dp->PAX->hh.prev);
while ( (pax= dp->PAX->hh.next) != 0 ) tmp = 0;
while ( (pax= dp->PAX->hh.next) != 0 && pax != tmp )
{ {
printf("iter pax.%p\n",pax); printf("iter pax.%p (%p %p)\n",pax,pax->hh.next,pax->hh.prev);
tmp = pax;
pax = pax->hh.next; pax = pax->hh.next;
} }
} }

Loading…
Cancel
Save