Browse Source

Test

etomic
jl777 7 years ago
parent
commit
64adecda3b
  1. 1
      iguana/exchanges/LP_nativeDEX.c
  2. 1
      iguana/exchanges/LP_transaction.c

1
iguana/exchanges/LP_nativeDEX.c

@ -19,6 +19,7 @@
// //
// feature requests // feature requests
// alice waiting for bestprice // alice waiting for bestprice
// pricearray [{"date":1405699200,"high":0.0045388,"low":0.00403001,"open":0.00404545,"close":0.00435873,"volume":44.34555992,"quoteVolume":10311.88079097,"weightedAverage":0.00430043},
// USD paxprice based USDvalue in portfolio // USD paxprice based USDvalue in portfolio
// portfolio value based on ask? // portfolio value based on ask?
// cancel bid/ask // cancel bid/ask

1
iguana/exchanges/LP_transaction.c

@ -982,6 +982,7 @@ uint64_t _komodo_interestnew(uint64_t nValue,uint32_t nLockTime,uint32_t tiptime
int32_t minutes; uint64_t interest = 0; int32_t minutes; uint64_t interest = 0;
if ( (minutes= (tiptime - nLockTime) / 60) >= 60 ) if ( (minutes= (tiptime - nLockTime) / 60) >= 60 )
{ {
printf("minutes.%d tiptime.%u locktime.%u\n",minutes,tiptime,nLockTime);
if ( minutes > 365 * 24 * 60 ) if ( minutes > 365 * 24 * 60 )
minutes = 365 * 24 * 60; minutes = 365 * 24 * 60;
minutes -= 59; minutes -= 59;

Loading…
Cancel
Save