jl777 7 years ago
parent
commit
90e35d64f5
  1. 4
      iguana/exchanges/LP_prices.c

4
iguana/exchanges/LP_prices.c

@ -274,9 +274,9 @@ cJSON *LP_pubkeyjson(struct LP_pubkeyinfo *pubp)
{ {
init_hexbytes_noT(hexstr,pubp->rmd160,sizeof(pubp->rmd160)); init_hexbytes_noT(hexstr,pubp->rmd160,sizeof(pubp->rmd160));
jaddstr(obj,"rmd160",hexstr); jaddstr(obj,"rmd160",hexstr);
for (j=0; i<sizeof(pubp->pubsecp); i++) for (j=0; j<sizeof(pubp->pubsecp); j++)
{ {
if ( pubp->pubsecp[i] != 0 ) if ( pubp->pubsecp[j] != 0 )
{ {
init_hexbytes_noT(hexstr2,pubp->pubsecp,sizeof(pubp->pubsecp)); init_hexbytes_noT(hexstr2,pubp->pubsecp,sizeof(pubp->pubsecp));
jaddstr(obj,"pubsecp",hexstr2); jaddstr(obj,"pubsecp",hexstr2);

Loading…
Cancel
Save