From 5fc4b4c7701f7efe453bae8145d15c12a83dbc70 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Mon, 14 Sep 2020 15:14:47 -0400 Subject: [PATCH] Use the correct interval at z2zheight --- src/komodo_bitcoind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index ff37a4847..4975d24b4 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -1258,7 +1258,7 @@ uint64_t hush_commission(int height) }; uint64_t commission = 0; - if( height > HALVING1) { + if( height >= HALVING1) { // Block time going from 150s to 75s (half) means the interval between halvings // must be twice as often, i.e. 840000*2=1680000 // With 150s blocks, we have 210,000 blocks per year