From af04802c46f0cec55fdd494ff7d35d13a3d70487 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 24 May 2016 00:30:35 -0500 Subject: [PATCH] test --- iguana/swaps/iguana_BTCswap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/swaps/iguana_BTCswap.c b/iguana/swaps/iguana_BTCswap.c index 79a3d6f15..635972231 100755 --- a/iguana/swaps/iguana_BTCswap.c +++ b/iguana/swaps/iguana_BTCswap.c @@ -589,7 +589,7 @@ void instantdex_swapbits256update(bits256 *txidp,cJSON *argjson,char *fieldname) void instantdex_newjson(struct supernet_info *myinfo,struct bitcoin_swapinfo *swap,cJSON *newjson) { - uint8_t pubkey[33]; int32_t deckflag = 0; + uint8_t pubkey[33]; int32_t deckflag = 1; if ( instantdex_pubkeyargs(myinfo,swap,2 + deckflag*INSTANTDEX_DECKSIZE,myinfo->persistent_priv,swap->myorderhash,0x02+instantdex_isbob(swap)) != 2 + deckflag*INSTANTDEX_DECKSIZE ) printf("ERROR: couldnt generate pubkeys deckflag.%d\n",deckflag); jaddnum(newjson,"have",swap->havestate);