test
This commit is contained in:
@@ -75,9 +75,9 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin
|
||||
denominator = (((uint64_t)365 * 24 * 60) / minutes);
|
||||
if ( denominator == 0 )
|
||||
denominator = 1; // max KOMODO_INTEREST per transfer, do it at least annually!
|
||||
if ( nValue > 25000*COIN )
|
||||
if ( nValue > 25000LL*COIN )
|
||||
{
|
||||
numerator = (nValue * (KOMODO_INTEREST / COIN));
|
||||
numerator = (nValue / 20); // assumes 5%!
|
||||
interest = (numerator / denominator);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user