|
|
@ -640,7 +640,7 @@ cJSON *LP_balances(char *coinaddr) |
|
|
|
{ |
|
|
|
bitcoin_addr2rmd160(taddr,&addrtype,rmd160,coinaddr); |
|
|
|
bitcoin_address(address,coin->taddr,coin->pubtype,rmd160,20); |
|
|
|
printf("%s taddr.%d addrtype.%u %s -> %s\n",coin->symbol,taddr,addrtype,coinaddr,address); |
|
|
|
printf("%s taddr.%d addrtype.%u %s -> %s [%c %c].%d\n",coin->symbol,taddr,addrtype,coinaddr,address,coinaddr[0],coinaddr[1],coinaddr[0] == 't' && (coinaddr[1] == '1' || coinaddr[1] == '3')); |
|
|
|
} |
|
|
|
if ( (retjson= LP_address_balance(coin,address,1)) != 0 ) |
|
|
|
{ |
|
|
|