From aeef9b98879e75069a500711866a2c90e101057f Mon Sep 17 00:00:00 2001 From: myriadcoin Date: Wed, 15 Jul 2015 14:28:07 +0200 Subject: [PATCH] Enable AuxPow for all algos --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 5e5adbcf..edffc22c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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