Test
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user