From 170bc39eb109f07227c6399bf3cafe9552ccbee7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 26 Mar 2017 15:44:12 +0300 Subject: [PATCH] Test --- src/komodo_interest.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/komodo_interest.h b/src/komodo_interest.h index 4b00b0602..0df7489d1 100644 --- a/src/komodo_interest.h +++ b/src/komodo_interest.h @@ -111,8 +111,15 @@ uint64_t komodo_interest(int32_t txheight,uint64_t nValue,uint32_t nLockTime,uin else { if ( nValue < 100000LL*COIN ) + { + printf("post 250K, < 100000 KMD path\n"); interest = (numerator * minutes) / ((uint64_t)365 * 24 * 60); - else interest = (numerator / denominator); + } + else + { + printf("post 250K, > 100000 KMD path\n"); + interest = (numerator / denominator); + } } } else