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