This commit is contained in:
jl777
2016-10-21 07:37:06 -03:00
parent 5f197aeeba
commit 70ce79b02b
2 changed files with 4 additions and 3 deletions

View File

@@ -112,9 +112,10 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
arith_uint256 bnTarget;
bnTarget.SetCompact(nBits, &fNegative, &fOverflow);
if ( height > 34000 && (special= komodo_heightnotary(height,pubkey33)) != 0 ) // 0 -> non-special notary
if ( height > 34000 ) // 0 -> non-special notary
{
int32_t i,nonz = 0;
special = komodo_heightnotary(height,pubkey33);
for (i=0; i<33; i++)
{
if ( pubkey33[i] != 0 )