This commit is contained in:
jl777
2016-10-20 17:33:44 -03:00
parent 7e28b66b45
commit f9e18307c4

View File

@@ -123,7 +123,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
}
//fprintf(stderr," height.%d special.%d nonz.%d\n",height,special,nonz);
if ( nonz == 0 )
return(true);
return(true); // will come back via different path with pubkey set
if ( special > 0 ) // special notary id == (height % numnotaries)
{
if (UintToArith256(hash) <= bnTarget) // accept normal diff