Browse Source

Test

etomic
jl777 8 years ago
parent
commit
8277c428f6
  1. 6
      basilisk/basilisk_swap.c

6
basilisk/basilisk_swap.c

@ -2904,7 +2904,11 @@ char *basilisk_swap_bobtxspend(char *name,struct supernet_info *myinfo,char *sym
sobj = cJSON_CreateObject();
bitcoin_address(destaddr,coin->chain->pubtype,pubkey33,33);
bitcoin_addr2rmd160(&addrtype,rmd160,destaddr);
int32_t i; for (i=0; i<20; i++)
int32_t i;
for (i=0; i<33; i++)
printf("%02x",pubkey33[i]);
printf(" pubkey33 ->\n");
for (i=0; i<20; i++)
printf("%02x",rmd160[i]);
printf(" destaddr.(%s)\n",destaddr);
calc_rmd160_sha256(rmd160,pubkey33,33);

Loading…
Cancel
Save