From 32e6b02d2e6fa8ea0695cda62412f507768bc658 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 16 May 2018 12:23:23 +0300 Subject: [PATCH] dont broadcast BTC autosplit --- iguana/exchanges/LP_transaction.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_transaction.c b/iguana/exchanges/LP_transaction.c index a08b5c77f..cf357ffa9 100644 --- a/iguana/exchanges/LP_transaction.c +++ b/iguana/exchanges/LP_transaction.c @@ -1936,7 +1936,7 @@ char *LP_autosplit(struct iguana_info *coin) jaddnum(item,coin->smartaddr,dstr(balance - 2*halfval)); jaddi(outputs,item); jadd(argjson,"outputs",outputs); - jaddnum(argjson,"broadcast",1); + jaddnum(argjson,"broadcast",strcmp(coin->symbol,"BTC") != 0); jaddstr(argjson,"coin",coin->symbol); //printf("autosplit.(%s)\n",jprint(argjson,0)); retstr = LP_withdraw(coin,argjson);