From 687aa6ce8c5b30aab0078e4e3fb0a351be452129 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 15 Nov 2016 12:35:35 -0300 Subject: [PATCH] test --- src/komodo_interest.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_interest.h b/src/komodo_interest.h index 5933c406f..68b03ed65 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -58,9 +58,9 @@ uint64_t komodo_moneysupply(int32_t height) uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uint32_t tiptime) { int32_t minutes; uint64_t numerator,denominator,interest = 0; - if ( komodo_moneysupply(txheight) < MAX_MONEY && nLockTime >= LOCKTIME_THRESHOLD && tiptime != 0 && nLockTime < tiptime && nValue >= 100*COIN ) + if ( komodo_moneysupply(txheight) < MAX_MONEY && nLockTime >= LOCKTIME_THRESHOLD && tiptime != 0 && nLockTime < tiptime && nValue >= COIN ) { - if ( (minutes= (tiptime - nLockTime) / 60) > 60 ) + if ( (minutes= (tiptime - nLockTime) / 60) > 1 ) { numerator = (nValue * KOMODO_INTEREST); denominator = (((uint64_t)365 * 24 * 60) / minutes);