jl777 7 years ago
parent
commit
c12f23be3b
  1. 1
      iguana/exchanges/LP_include.h
  2. 3
      iguana/exchanges/LP_transaction.c

1
iguana/exchanges/LP_include.h

@ -52,6 +52,7 @@ void emscripten_usleep(int32_t x); // returns immediate, no sense for sleeping
#endif
//#define LP_STRICTPEERS
#define LP_DISABLE_DISTCOMBINE
#define LP_MAXVINS 64
#define LP_HTTP_TIMEOUT 3 // 1 is too small due to edge cases of time(NULL)

3
iguana/exchanges/LP_transaction.c

@ -1211,6 +1211,9 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
else if ( coin->numutxos >= LP_MAXDESIRED_UTXOS )
dustcombine = 2;
else dustcombine = 1;
#ifdef LP_DISABLE_DISTCOMBINE
dustcombine = 0;
#endif
amount = txfee;
for (i=0; i<numvouts; i++)
{

Loading…
Cancel
Save