From 52955b6feca259312188859a43860703564c3299 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 11 Apr 2018 04:53:05 +0300 Subject: [PATCH] Test --- src/komodo_gateway.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komodo_gateway.h b/src/komodo_gateway.h index 778be3eca..d29e70261 100644 --- a/src/komodo_gateway.h +++ b/src/komodo_gateway.h @@ -694,8 +694,8 @@ uint32_t komodo_stake(arith_uint256 bnTarget,int32_t nHeight,uint256 txid,int32_ diff = 3600*24; //coinage = (((value * diff) / supply) * diff); coinage = (value * diff) * ((diff >> 16) + 1); - //hashval = arith_uint256(supply * 64) * (UintToArith256(hash) / arith_uint256(coinage+1)); - hashval = (UintToArith256(hash) / arith_uint256(coinage+1)); + hashval = arith_uint256(supply * 64) * (UintToArith256(hash) / arith_uint256(coinage+1)); + //hashval = (UintToArith256(hash) / arith_uint256(coinage+1)); if ( hashval <= bnTarget ) { winner = 1;