|
|
@ -759,7 +759,7 @@ cJSON *basilisk_remember(int64_t *KMDtotals,int64_t *BTCtotals,uint32_t requesti |
|
|
|
char privaddr[64]; uint8_t privpub33[33]; |
|
|
|
bitcoin_pubkey33(ctx,privpub33,myprivs[0]); |
|
|
|
bitcoin_address(privaddr,60,privpub33,33); |
|
|
|
printf("alicespend len.%d redeemlen.%d priv0addr.(%s)\n",len,redeemlen,privaddr); |
|
|
|
printf("alicespend len.%d redeemlen.%d priv0addr.(%s) priv0.(%s)\n",len,redeemlen,privaddr,bits256_str(str,myprivs[0])); |
|
|
|
} |
|
|
|
if ( (txbytes[BASILISK_ALICESPEND]= basilisk_swap_bobtxspend(&signedtxid,txfee,"alicespend",bobcoin,bob->pubtype,bob->p2shtype,bob->isPoS,bob->wiftype,ctx,myprivs[0],0,redeemscript,redeemlen,userdata,len,txids[BASILISK_BOBPAYMENT],0,0,pubkey33,1,expiration,&values[BASILISK_ALICESPEND],0,0,bobpaymentaddr)) != 0 ) |
|
|
|
printf("alicespend.(%s)\n",txbytes[BASILISK_ALICESPEND]); |
|
|
|