Browse Source

Test

etomic
jl777 8 years ago
parent
commit
a6c67307c8
  1. 2
      iguana/exchanges/LP_utxos.c
  2. 2
      iguana/exchanges/secretaddresses

2
iguana/exchanges/LP_utxos.c

@ -942,7 +942,7 @@ char *LP_secretaddresses(void *ctx,char *passphrase,int32_t n,uint8_t taddr,uint
return(clonestr("{\"error\":\"couldnt validate pubtype\"}"));
}
jaddstr(retjson,coinaddr,wifstr);
sprintf(output+strlen(output),"\\\"%s\\\", ",coinaddr);
sprintf(output+strlen(output),"\\\"%s\\\"%c ",coinaddr,i<n-1?',':' ');
printf("./komodo-cli jumblr_secret %s\n",coinaddr);
}
printf("%s]\n",output);

2
iguana/exchanges/secretaddresses

@ -1,5 +1,5 @@
source userpass
echo "usage: ./secretaddresses 'passphrase'"
curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"secretaddresses\",\"num\":10,\"passphrase\":\"$1\"}"
curl --url "http://127.0.0.1:7779" --data "{\"userpass\":\"$userpass\",\"method\":\"secretaddresses\",\"num\":16,\"passphrase\":\"$1\"}"

Loading…
Cancel
Save