Browse Source

Test

etomic
jl777 8 years ago
parent
commit
e7c625cf43
  1. 2
      iguana/exchanges/LP_transaction.c
  2. 1
      iguana/exchanges/LP_utxos.c

2
iguana/exchanges/LP_transaction.c

@ -120,7 +120,7 @@ uint64_t LP_txvalue(char *symbol,bits256 txid,int32_t vout)
value += SATOSHIDEN * interest; value += SATOSHIDEN * interest;
} }
} }
char str[65]; printf("%.8f <- %s.(%s) txobj.(%s)\n",dstr(value),symbol,bits256_str(str,txid),jprint(txobj,0)); //char str[65]; printf("%.8f <- %s.(%s) txobj.(%s)\n",dstr(value),symbol,bits256_str(str,txid),jprint(txobj,0));
free_json(txobj); free_json(txobj);
} }
return(value); return(value);

1
iguana/exchanges/LP_utxos.c

@ -403,6 +403,7 @@ uint64_t LP_privkey_init(struct LP_peerinfo *mypeer,int32_t mypubsock,char *symb
used = 0; used = 0;
while ( used < n ) while ( used < n )
{ {
printf("used.%d of n.%d\n",used,n);
if ( (i= LP_maxvalue(values,n)) >= 0 ) if ( (i= LP_maxvalue(values,n)) >= 0 )
{ {
item = jitem(array,i); item = jitem(array,i);

Loading…
Cancel
Save