From 887b6a94afaffef3d56ad913389668769819e8a8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 28 Mar 2018 15:42:10 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index b61a72355..987801ba6 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -1494,6 +1494,10 @@ char *LP_autobuy(void *ctx,int32_t fomoflag,char *myipaddr,int32_t mypubsock,cha return(clonestr("{\"error\":\"not enough utxo, please make more deposits\"}")); } LP_txfees(&txfee,&desttxfee,base,rel); + if ( txfee != 0 && txfee < 10000 ) + txfee = 10000; + if ( desttxfee != 0 && desttxfee < 10000 ) + desttxfee = 10000; if ( fomoflag != 0 ) { uint64_t median,minutxo,maxutxo;