Browse Source

Force usage of default as initial passphrase

dev
jl777 7 years ago
parent
commit
406700acb8
  1. 2
      iguana/exchanges/coins
  2. 4
      iguana/exchanges/mm.c

2
iguana/exchanges/coins

File diff suppressed because one or more lines are too long

4
iguana/exchanges/mm.c

@ -203,8 +203,10 @@ int main(int argc, const char * argv[])
DOCKERFLAG = 1; DOCKERFLAG = 1;
else if ( jstr(retjson,"docker") != 0 ) else if ( jstr(retjson,"docker") != 0 )
DOCKERFLAG = (uint32_t)calc_ipbits(jstr(retjson,"docker")); DOCKERFLAG = (uint32_t)calc_ipbits(jstr(retjson,"docker"));
if ( jobj(retjson,"passphrase") != 0 )
jdelete(retjson,"passphrase");
if ( (passphrase= jstr(retjson,"passphrase")) == 0 ) if ( (passphrase= jstr(retjson,"passphrase")) == 0 )
jaddstr(retjson,"passphrase","test"); jaddstr(retjson,"passphrase","default");
if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_main,(void *)retjson) != 0 ) if ( OS_thread_create(malloc(sizeof(pthread_t)),NULL,(void *)LP_main,(void *)retjson) != 0 )
{ {
printf("error launching LP_main (%s)\n",jprint(retjson,0)); printf("error launching LP_main (%s)\n",jprint(retjson,0));

Loading…
Cancel
Save