|
|
@ -655,7 +655,7 @@ char *iguana_bitcoinRPC(struct supernet_info *myinfo,char *method,cJSON *json,ch |
|
|
|
printf("n.%d (%s)\n",n,jstr(array,0)); |
|
|
|
for (i=n-1; i>=0; i--) |
|
|
|
{ |
|
|
|
params[i] = jduplicate(jitem(array,i));//;
|
|
|
|
params[i] = cJSON_DetachItemFromArray(array,i);//;
|
|
|
|
printf("add params[%d] of %d <- (%s) %p.(%p %p)\n",i,n,jprint(params[i],0),params[i],params[i]->next,params[i]->prev); |
|
|
|
} |
|
|
|
} |
|
|
|