From 5788f9da498d7478e978064709d95006ffe91940 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 6 Jun 2017 13:14:27 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_include.h | 2 +- iguana/exchanges/LP_swap.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_include.h b/iguana/exchanges/LP_include.h index ae1b1a4a0..08b7c602b 100644 --- a/iguana/exchanges/LP_include.h +++ b/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 diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index f6195d74b..9972d0b11 100644 --- a/iguana/exchanges/LP_swap.c +++ b/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); } }