Browse Source

Test

etomic
jl777 7 years ago
parent
commit
165de053ae
  1. 1
      iguana/exchanges/LP_nativeDEX.c
  2. 2
      iguana/exchanges/LP_transaction.c

1
iguana/exchanges/LP_nativeDEX.c

@ -18,6 +18,7 @@
// LP_nativeDEX.c
// marketmaker
//
// selftest and fix rpc port
// autoadd dust utxo to vin for initial atomic tx
// verify portfolio, interest to KMD withdraw
// dPoW security -> 4: KMD notarized, 5: BTC notarized, after next notary elections

2
iguana/exchanges/LP_transaction.c

@ -986,7 +986,7 @@ char *LP_createrawtransaction(cJSON **txobjp,int32_t *numvinsp,struct iguana_inf
printf("LP_createrawtransaction: illegal coin.%p outputs.%p or arraysize.%d, error\n",coin,outputs,numvouts);
return(0);
}
if ( coin->electrum != 0 || coin->numutxos < LP_MINDESIRED_UTXOS )
if ( coin->numutxos < LP_MINDESIRED_UTXOS )
dustcombine = 0;
else if ( coin->numutxos >= LP_MINDESIRED_UTXOS )
dustcombine = 2;

Loading…
Cancel
Save