From e7aefe7fddc99058305c3e7765e21e741048835a Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 27 Feb 2018 18:41:29 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_swap.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iguana/exchanges/LP_swap.c b/iguana/exchanges/LP_swap.c index 01811acdc..acd6338d3 100644 --- a/iguana/exchanges/LP_swap.c +++ b/iguana/exchanges/LP_swap.c @@ -1224,6 +1224,10 @@ struct basilisk_swap *bitcoin_swapinit(bits256 privkey,uint8_t *pubkey33,bits256 swap->I.bobconfirms *= !swap->I.bobistrusted; swap->I.aliceconfirms *= !swap->I.aliceistrusted; } +if ( bobcoin->isassetchain != 0 ) + swap->I.bobconfirms = BASILISK_DEFAULT_MAXCONFIRMS; +if ( alicecoin->isassetchain != 0 ) + swap->I.aliceconfirms = BASILISK_DEFAULT_MAXCONFIRMS; printf(">>>>>>>>>> jumblrflag.%d <<<<<<<<< r.%u q.%u, %.8f bobconfs.%d, %.8f aliceconfs.%d taddr.%d %d\n",jumblrflag,swap->I.req.requestid,swap->I.req.quoteid,dstr(swap->I.bobsatoshis),swap->I.bobconfirms,dstr(swap->I.alicesatoshis),swap->I.aliceconfirms,bobcoin->taddr,alicecoin->taddr); printf("etomic src (%s %s) dest (%s %s)\n",swap->I.bobtomic,swap->I.etomicsrc,swap->I.alicetomic,swap->I.etomicdest); if ( swap->I.iambob != 0 )