Browse Source

Test

etomic
jl777 7 years ago
parent
commit
ad0f9fc2b5
  1. 3
      iguana/exchanges/LP_nativeDEX.c
  2. 3
      iguana/exchanges/mm.c

3
iguana/exchanges/LP_nativeDEX.c

@ -568,9 +568,6 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,uint16_t mybu
}
#endif
OS_randombytes((void *)&n,sizeof(n));
printf("call test\n");
electrum_test();
getchar();
if ( jobj(argjson,"gui") != 0 )
safecopy(LP_gui,jstr(argjson,"gui"),sizeof(LP_gui));
if ( jobj(argjson,"canbind") == 0 )

3
iguana/exchanges/mm.c

@ -803,6 +803,9 @@ int main(int argc, const char * argv[])
double profitmargin,maxexposure,incrratio,start_rel,start_base,minask,maxbid,incr;
cJSON *retjson,*loginjson; int32_t i;
OS_init();
printf("call test\n");
electrum_test();
getchar();
sprintf(dirname,"%s",GLOBAL_DBDIR), OS_ensure_directory(dirname);
sprintf(dirname,"%s/SWAPS",GLOBAL_DBDIR), OS_ensure_directory(dirname);
sprintf(dirname,"%s/PRICES",GLOBAL_DBDIR), OS_ensure_directory(dirname);

Loading…
Cancel
Save