From 4d5f6abce573d0b2833573c0064a5e5f29bf2087 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 26 Sep 2017 21:17:58 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 06ca2e6a0..bd3269ec2 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -837,8 +837,9 @@ int32_t LP_tradecommand(void *ctx,char *myipaddr,int32_t pubsock,cJSON *argjson, printf("set swappending.%u accept qprice %.8f, min %.8f\n(%s)\n",butxo->T.swappending,qprice,price,msg); { bits256 zero; - memset(&zero,0,sizeof(zero)); LP_broadcast_message(pubsock,Q.srccoin,Q.destcoin,butxo->S.otherpubkey,msg); + memset(&zero,0,sizeof(zero)); + LP_broadcast_message(pubsock,Q.srccoin,Q.destcoin,zero,msg); LP_butxo_swapfields_set(butxo); printf("return after RESERVED\n"); return(2);