Browse Source

Test

etomic
jl777 8 years ago
parent
commit
5788f9da49
  1. 2
      iguana/exchanges/LP_include.h
  2. 4
      iguana/exchanges/LP_swap.c

2
iguana/exchanges/LP_include.h

@ -35,7 +35,7 @@
#define INSTANTDEX_BTCD "RThtXup6Zo7LZAi8kRWgjAyi1s4u6U9Cpf"
#define BASILISK_DISABLEWAITTX
//#define BASILISK_DISABLESENDTX
#define BASILISK_DISABLESENDTX
#define LP_PROPAGATION_SLACK 10 // txid ordering is not enforced, so getting extra recent txid
#define LP_RESERVETIME 60

4
iguana/exchanges/LP_swap.c

@ -736,8 +736,8 @@ void LP_aliceloop(void *_qp)
{
while ( LP_numconfirms(swap,&swap->bobpayment) < 1 )
sleep(3);
if ( LP_swapdata_rawtxsend(qp->pair,swap,0x20000,data,maxlen,&swap->alicespend,0x0,0) == 0 )
printf("error sending alicepayment\n");
if ( LP_swapdata_rawtxsend(qp->pair,swap,0x20000,data,maxlen,&swap->alicespend,0x40000,0) == 0 )
printf("error sending alicespend\n");
LP_swapwait(swap->I.req.requestid,swap->I.req.quoteid,4*3600,600);
}
}

Loading…
Cancel
Save