From 4cd3fe41366bb6d7e8f22247d600b2c72e160a74 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 16 Apr 2017 14:06:23 +0300 Subject: [PATCH] Test --- basilisk/basilisk_swap.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/basilisk/basilisk_swap.c b/basilisk/basilisk_swap.c index 2d9163fc9..ff58415d3 100755 --- a/basilisk/basilisk_swap.c +++ b/basilisk/basilisk_swap.c @@ -3074,10 +3074,10 @@ bits256 basilisk_swap_spendupdate(struct supernet_info *myinfo,char *symbol,int3 bits256 spendtxid,txid; char destaddr[64]; txid = txids[utxoind]; memset(&spendtxid,0,sizeof(spendtxid)); - if ( aliceaddr != 0 ) + /*if ( aliceaddr != 0 ) printf("aliceaddr.(%s)\n",aliceaddr); if ( bobaddr != 0 ) - printf("bobaddr.(%s)\n",bobaddr); + printf("bobaddr.(%s)\n",bobaddr);*/ if ( bits256_nonz(txid) != 0 ) { spendtxid = basilisk_swap_spendtxid(myinfo,symbol,destaddr,txid,vout); @@ -3193,7 +3193,10 @@ cJSON *basilisk_remember(struct supernet_info *myinfo,uint64_t *KMDtotals,uint64 myprivs[1] = privkey; privkey = jbits256(item,"privAm"); if ( bits256_nonz(privkey) != 0 ) + { privAm = privkey; + printf("set privAm <- %s\n",bits256_str(str,privAm)); + } privkey = jbits256(item,"privBn"); if ( bits256_nonz(privkey) != 0 ) {