From 8cfe68a169a4ddbdba010e2ff49c08c38cbdd678 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 18:55:25 +0300 Subject: [PATCH] Revert "Test" This reverts commit ddbc321c54136a2e694674df2d2c3f0d09ed7e97. --- 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 40e0ef2be..e0c9a9a58 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -128,7 +128,7 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin numerator = (nValue * KOMODO_INTEREST); if ( txheight < 250000 && tiptime < activation ) { - if ( txheight >= 250000 && numerator * minutes < 365 * 24 * 60 ) + if ( numerator * minutes < 365 * 24 * 60 ) interest = (numerator / denominator) / COIN; else interest = ((numerator * minutes) / ((uint64_t)365 * 24 * 60)) / COIN; }