diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 847093f8d..b357e8c59 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -2759,6 +2759,13 @@ char *basilisk_swaplist(struct supernet_info *myinfo) jaddnum(totalsobj,txnames[i],dstr(KMDtotals[i])); jadd(retjson,"KMDtotals",totalsobj); } + array = cJSON_CreateArray(); + for (i=0; ilinfos)/sizeof(*myinfo->linfos); i++) + { + if ( myinfo->linfos[i].base[0] != 0 && myinfo->linfos[i].rel[0] != 0 ) + jaddi(array,linfo_json(&myinfo->linfos[i])); + } + jadd(retjson,"quotes",array); return(jprint(retjson,1)); }