Browse Source

interest = nValue*htdiff*0.000000238418 for HODLC

dev
jl777 7 years ago
parent
commit
31a81518a9
  1. 3
      iguana/exchanges/LP_transaction.c

3
iguana/exchanges/LP_transaction.c

@ -989,7 +989,8 @@ int64_t LP_hodlcoin_interest(int32_t coinheight,int32_t utxoheight,bits256 txid,
if ( htdiff > 16830 )
htdiff = 16830;
minutes = (htdiff * 154) / 60;
interest = ((nValue * minutes) / 10743920);
interest = nValue * htdiff * 0.000000238418;
//interest = ((nValue * minutes) / 10743920);
}
return(interest);
}

Loading…
Cancel
Save