|
|
@ -765,13 +765,12 @@ uint64_t LP_txvalue(char *coinaddr,char *symbol,bits256 txid,int32_t vout) |
|
|
|
} |
|
|
|
else if ( coin->electrum == 0 ) |
|
|
|
{ |
|
|
|
uint64_t value; char _coinaddr[64]; |
|
|
|
uint64_t value; |
|
|
|
if ( (txobj= LP_gettxout(coin->symbol,coinaddr,txid,vout)) != 0 ) |
|
|
|
{ |
|
|
|
value = LP_value_extract(txobj,0);//SATOSHIDEN * (jdouble(txobj,"value") + jdouble(txobj,"interest"));
|
|
|
|
if ( coinaddr == 0 ) |
|
|
|
coinaddr = _coinaddr; |
|
|
|
LP_destaddr(coinaddr,txobj); |
|
|
|
if ( coinaddr != 0 ) |
|
|
|
LP_destaddr(coinaddr,txobj); |
|
|
|
//printf("pruned node? LP_txvalue couldnt find %s tx %s, but gettxout %.8f\n",coin->symbol,bits256_str(str,txid),dstr(value));
|
|
|
|
if ( value != 0 ) |
|
|
|
{ |
|
|
|