Browse Source

Array -> object

patch-3
jl777 7 years ago
parent
commit
be95c9d231
  1. 2
      iguana/iguana_notary.c

2
iguana/iguana_notary.c

@ -910,7 +910,7 @@ STRING_ARG(dpow,active,maskhex)
} }
else jaddistr(notarray,Notaries_elected[i][0]); else jaddistr(notarray,Notaries_elected[i][0]);
} }
retjson = cJSON_CreateArray(); retjson = cJSON_CreateObject();
jadd(retjson,"set",array); jadd(retjson,"set",array);
jadd(retjson,"not",notarray); jadd(retjson,"not",notarray);
return(jprint(retjson,1)); return(jprint(retjson,1));

Loading…
Cancel
Save