jl777 7 years ago
parent
commit
321165a410
  1. 1
      iguana/exchanges/LP_include.h
  2. 2
      iguana/exchanges/LP_utxo.c

1
iguana/exchanges/LP_include.h

@ -498,6 +498,7 @@ int32_t LP_numconfirms(char *symbol,char *coinaddr,bits256 txid,int32_t vout,int
void LP_aliceid(uint32_t tradeid,uint64_t aliceid,char *event,uint32_t requestid,uint32_t quoteid);
void LP_autoprices_update(char *method,char *base,double basevol,char *rel,double relvol);
cJSON *LP_cache_transaction(struct iguana_info *coin,bits256 txid,uint8_t *serialized,int32_t len);
uint64_t LP_balance(uint64_t *valuep,int32_t iambob,char *symbol,char *coinaddr);
cJSON *LP_transaction_fromdata(struct iguana_info *coin,bits256 txid,uint8_t *serialized,int32_t len);
uint64_t LP_RTsmartbalance(struct iguana_info *coin);
int32_t LP_getheight(int32_t *notarizedp,struct iguana_info *coin);

2
iguana/exchanges/LP_utxo.c

@ -690,7 +690,7 @@ cJSON *LP_address_balance(struct iguana_info *coin,char *coinaddr,int32_t electr
}
free_json(array);
}
uint64_t balance2 = LP_balance(&balance2,0,coin->symbol,coin->coinaddr);
uint64_t balance2 = LP_balance(&balance2,0,coin->symbol,coin->smartaddr);
printf("balance %.8f vs balance2 %.8f\n",dstr(balance),dstr(balance2));
}
else

Loading…
Cancel
Save