Enable AuxPow for all algos

This commit is contained in:
myriadcoin
2015-07-15 14:28:07 +02:00
parent 2be772d85d
commit aeef9b9887
+1 -1
View File
@@ -1523,7 +1523,7 @@ bool CheckProofOfWork(uint256 hash, unsigned int nBits, int algo)
bool CBlockHeader::CheckProofOfWork(int nHeight) const
{
int algo = GetAlgo();
if ((nHeight >= GetAuxPowStartBlock()) && (algo == ALGO_SHA256D || algo == ALGO_SCRYPT))
if (nHeight >= GetAuxPowStartBlock())
{
// Prevent same work from being submitted twice:
// - this block must have our chain ID