From 075d0c069666bc871c81932e6c6a3ddb939f9942 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 18:15:15 -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 b58e45a90..b3b1e21f7 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -60,7 +60,7 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin int32_t minutes; uint64_t numerator,denominator,interest = 0; if ( komodo_moneysupply(txheight) < MAX_MONEY && nLockTime >= LOCKTIME_THRESHOLD && tiptime != 0 && nLockTime < tiptime && nValue >= 10*COIN ) { - if ( (minutes= (tiptime - nLockTime) / 60) > 1 ) + if ( (minutes= (tiptime - nLockTime) / 60) >= 60 ) { numerator = (nValue * KOMODO_INTEREST); denominator = (((uint64_t)365 * 24 * 60) / minutes);