Fix
This commit is contained in:
@@ -1174,7 +1174,7 @@ uint32_t komodo_stake(int32_t validateflag,arith_uint256 bnTarget,int32_t nHeigh
|
|||||||
if ( blocktime+iter+segid*2 < txtime+minage )
|
if ( blocktime+iter+segid*2 < txtime+minage )
|
||||||
continue;
|
continue;
|
||||||
coinage = (value * diff) * ((diff >> 16) + 1);
|
coinage = (value * diff) * ((diff >> 16) + 1);
|
||||||
newhashval = ratio * (UintToArith256(hash) / arith_uint256(coinage+1));
|
hashval = ratio * (UintToArith256(hash) / arith_uint256(coinage+1));
|
||||||
if ( hashval <= bnTarget )
|
if ( hashval <= bnTarget )
|
||||||
{
|
{
|
||||||
winner = 1;
|
winner = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user