From 274f9fb365400f89dd81963f033892cfea941f02 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 9 Apr 2018 20:14:41 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 353f8f72f..9b16c846e 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -682,7 +682,7 @@ uint32_t komodo_stake(arith_uint256 bnTarget,int32_t nHeight,uint256 txid,int32_ if ( blocktime > txtime && (pindex= komodo_chainactive(nHeight-200)) != 0 ) { diff = (blocktime - txtime); - coinage = value * diff / supply; + coinage = value * diff;// / supply; hash = pindex->GetBlockHash(); // hash pubkey hashval = UintToArith256(hash); hashval = (hashval / arith_uint256(coinage+1));