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