Browse Source

Test

etomic
jl777 7 years ago
parent
commit
5849f83cad
  1. 2
      iguana/exchanges/LP_ordermatch.c
  2. 2
      iguana/exchanges/LP_remember.c

2
iguana/exchanges/LP_ordermatch.c

@ -738,7 +738,7 @@ int32_t LP_tradecommand(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson,
printf("return after queued RESERVED: set swappending.%u accept qprice %.8f, min %.8f\n(%s)\n",butxo->T.swappending,qprice,price,msg);
// LP_addsig
//msg2 = clonestr(msg);
LP_reserved_msg(1,Q.srccoin,Q.destcoin,butxo->S.otherpubkey,msg);
LP_reserved_msg(1,Q.srccoin,Q.destcoin,butxo->S.otherpubkey,clonestr(msg));
sleep(1);
bits256 zero;
memset(zero.bytes,0,sizeof(zero));

2
iguana/exchanges/LP_remember.c

@ -1120,7 +1120,7 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti
LP_tradecommand_log(item);
LP_reserved_msg(1,rswap.src,rswap.dest,zero,clonestr(itemstr));
sleep(1);
LP_reserved_msg(0,rswap.src,rswap.dest,zero,clonestr(itemstr));
LP_reserved_msg(0,rswap.src,rswap.dest,zero,itemstr);
//LP_broadcast_message(LP_mypubsock,rswap.src,rswap.dest,zero,itemstr);
fclose(fp);
}

Loading…
Cancel
Save