From 8d98905938112dbca5332cc89c52dc326c78ee6e Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 14 Jun 2017 18:55:38 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_forwarding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_forwarding.c b/iguana/exchanges/LP_forwarding.c index 7983f634a..e38b3175d 100644 --- a/iguana/exchanges/LP_forwarding.c +++ b/iguana/exchanges/LP_forwarding.c @@ -137,7 +137,7 @@ char *LP_forwardhex(int32_t pubsock,bits256 pubkey,char *hexstr) { reqjson = LP_dereference(argjson,"forward"); retstr = LP_command_process(LP_mypeer != 0 ? LP_mypeer->ipaddr : "127.0.0.1",LP_mypubsock,reqjson,0,0,LP_profitratio - 1.); - if ( pubsock >= 0 && bits256_cmp(pubkey,LP_mypubkey) != 0 ) + if ( pubsock >= 0 ) LP_send(pubsock,jprint(reqjson,0),1); free_json(reqjson); free_json(argjson);