Browse Source

Test

etomic
jl777 7 years ago
parent
commit
94235c6051
  1. 2
      iguana/exchanges/LP_nativeDEX.c
  2. 6
      iguana/exchanges/LP_transaction.c

2
iguana/exchanges/LP_nativeDEX.c

@ -445,7 +445,7 @@ void LPinit(uint16_t myport,uint16_t mypullport,uint16_t mypubport,double profit
exit(-1);
}
}
nn_tests(pullsock,pushaddr);
//nn_tests(pullsock,pushaddr);
printf("my command address is (%s) pullsock.%d\n",pushaddr,pullsock);
if ( IAMLP != 0 )
{

6
iguana/exchanges/LP_transaction.c

@ -756,9 +756,13 @@ char *basilisk_swap_bobtxspend(bits256 *signedtxidp,uint64_t txfee,char *name,ch
} else if ( value > txfee )
satoshis = value - txfee;
else printf("unexpected small value %.8f vs txfee %.8f\n",dstr(value),dstr(txfee));
*destamountp = satoshis;
if ( destamountp != 0 )
*destamountp = satoshis;
printf("destamountp %p\n",destamountp);
timestamp = (uint32_t)time(NULL);
printf("t %u V.%p %ld\n",timestamp,V,sizeof(V));
memset(V,0,sizeof(V));
printf("cleared V\n");
privkeys = cJSON_CreateArray();
if ( privkey2p != 0 )
{

Loading…
Cancel
Save