From fb3715334a9f90be1b2d5557260165cb235e0422 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 19:25:18 +0300 Subject: [PATCH] Test --- src/komodo_interest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_interest.h b/src/komodo_interest.h index 00c4e95eb..0b4561320 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -126,7 +126,7 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin else interest = ((numerator * minutes) / ((uint64_t)365 * 24 * 60)) / COIN; */ numerator = (nValue * KOMODO_INTEREST); - if ( txheight < 250000 && tiptime < activation ) + if ( txheight < 250000 || tiptime < activation ) { if ( txheight < 250000 || numerator * minutes < 365 * 24 * 60 ) interest = (numerator / denominator) / COIN;