From 6ee85656557b64a40b63917d1d0f6f4d9f4ec5d0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 May 2016 17:47:04 -0500 Subject: [PATCH] test --- iguana/swaps/iguana_BTCswap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/iguana/swaps/iguana_BTCswap.c b/iguana/swaps/iguana_BTCswap.c index 2bc2e9702..df1037cc7 100755 --- a/iguana/swaps/iguana_BTCswap.c +++ b/iguana/swaps/iguana_BTCswap.c @@ -122,7 +122,7 @@ struct bitcoin_statetx *instantdex_feetx(struct supernet_info *myinfo,struct ins { ptr = calloc(1,sizeof(*ptr) + strlen(feetx) + 1); strcpy(ptr->txbytes,feetx); - ptr->txid = txid; + ptr->txid = signedtxid; //printf("%s feetx.%s\n",A->offer.myside != 0 ? "BOB" : "ALICE",feetx); //disp_tx(myinfo,coin,"feetx",feetx); free(feetx); @@ -199,7 +199,7 @@ struct bitcoin_statetx *instantdex_bobtx(struct supernet_info *myinfo,struct igu { ptr = calloc(1,sizeof(*ptr) + strlen(signedtx) + 1); strcpy(ptr->txbytes,signedtx); - ptr->txid = txid; + ptr->txid = signedtxid; //printf("bob deposit.%s\n",signedtx); //disp_tx(myinfo,coin,depositflag != 0 ? "deposit" : "payment",signedtx); free(signedtx); @@ -297,7 +297,7 @@ struct bitcoin_statetx *instantdex_alicetx(struct supernet_info *myinfo,struct i printf("alice payment.%s\n",signedtx); //disp_tx(myinfo,altcoin,"altpayment",signedtx); ptr = calloc(1,sizeof(*ptr) + strlen(signedtx) + 1); - ptr->txid = txid; + ptr->txid = signedtxid; strcpy(ptr->txbytes,signedtx); free(signedtx); } else printf("error signing alicetx\n");