Browse Source

Test

etomic
jl777 8 years ago
parent
commit
63a8da4b7e
  1. 3
      iguana/exchanges/LP_nativeDEX.c
  2. 6
      iguana/exchanges/LP_swap.c

3
iguana/exchanges/LP_nativeDEX.c

@ -21,9 +21,10 @@
// stats
// auto-utxo creation
// null plocktime, robustify remember
// verify BTC trading: 0 txfee on remember trades. even with invalid tx, thinks swap is completed RETSTR.({"result":null,"error":{"code":-26,"message":"66: insufficient priority"},"id":"jl777"}
//) BTC.0000000000000000000000000000000000000000000000000000000000000000
// multiple smartaddresses? enable/disable causes? 250 KMD bounty
// verify bid volumes
// verify BTC trading
#include <stdio.h>
#include "LP_include.h"

6
iguana/exchanges/LP_swap.c

@ -801,7 +801,11 @@ void LP_aliceloop(void *_swap)
free(swap);
}
free(data);
nn_close(swap->N.pair);
if ( swap->N.pair >= 0 )
{
nn_close(swap->N.pair);
swap->N.pair = -1;
}
}
bits256 instantdex_derivekeypair(void *ctx,bits256 *newprivp,uint8_t pubkey[33],bits256 privkey,bits256 orderhash)

Loading…
Cancel
Save