From e64843ced509c24f783276d4cc0f2f26c9d527f2 Mon Sep 17 00:00:00 2001 From: Tomo Ueda Date: Thu, 2 Sep 2021 12:55:18 -0700 Subject: really s/Doge/Dis/g this time --- src/pow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/pow.cpp') diff --git a/src/pow.cpp b/src/pow.cpp index 14ed65869..dc6998b7c 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -20,7 +20,7 @@ bool AllowMinDifficultyForBlock(const CBlockIndex* pindexLast, const CBlockHeade if (!params.fPowAllowMinDifficultyBlocks) return false; - // Dogecoin: Magic number at which reset protocol switches + // Discoin: Magic number at which reset protocol switches // check if we allow minimum difficulty at this block-height if (pindexLast->nHeight < 157500) return false; @@ -37,7 +37,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead if (pindexLast == NULL) return nProofOfWorkLimit; - // Dogecoin: Special rules for minimum difficulty blocks with Digishield + // Discoin: Special rules for minimum difficulty blocks with Digishield if (AllowDigishieldMinDifficultyForBlock(pindexLast, pblock, params)) { // Special difficulty rule for testnet: @@ -84,7 +84,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead const CBlockIndex* pindexFirst = pindexLast->GetAncestor(nHeightFirst); assert(pindexFirst); - return CalculateDogecoinNextWorkRequired(pindexLast, pindexFirst->GetBlockTime(), params); + return CalculateDiscoinNextWorkRequired(pindexLast, pindexFirst->GetBlockTime(), params); } unsigned int CalculateNextWorkRequired(const CBlockIndex* pindexLast, int64_t nFirstBlockTime, const Consensus::Params& params) -- cgit v1.2.3