This commit is contained in:
jl777
2017-03-26 15:44:12 +03:00
parent e89758bde2
commit 170bc39eb1

View File

@@ -111,8 +111,15 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin
else else
{ {
if ( nValue < 100000LL*COIN ) if ( nValue < 100000LL*COIN )
{
printf("post 250K, < 100000 KMD path\n");
interest = (numerator * minutes) / ((uint64_t)365 * 24 * 60); interest = (numerator * minutes) / ((uint64_t)365 * 24 * 60);
else interest = (numerator / denominator); }
else
{
printf("post 250K, > 100000 KMD path\n");
interest = (numerator / denominator);
}
} }
} }
else else