|
|
@ -2130,7 +2130,7 @@ char *bitcoin_address(char *symbol,char *coinaddr,uint8_t taddr,uint8_t addrtype |
|
|
|
if ( ctx == 0 ) |
|
|
|
ctx = bitcoin_ctx(); |
|
|
|
bitcoin_expandcompressed(ctx,bigpubkey,pubkey_or_rmd160); |
|
|
|
LP_etomic_pub2addr(coinaddr+2,bigpubkey+1); |
|
|
|
LP_etomic_pub2addr(coinaddr,bigpubkey+1); |
|
|
|
/*for (i=0; i<33; i++)
|
|
|
|
printf("%02x",pubkey_or_rmd160[i]); |
|
|
|
printf(" compressed -> "); |
|
|
|