From e583c8f8ba20ff6c50042cb445e924175f2b5ee0 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 20 Oct 2016 08:28:46 -0300 Subject: [PATCH] test --- src/pow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index e914f2726..ab3fa1b56 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -16,14 +16,12 @@ #include "sodium.h" -int32_t komodo_is_notaryblock(CBlockHeader& block); - unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHeader *pblock, const Consensus::Params& params) { unsigned int nProofOfWorkLimit = UintToArith256(params.powLimit).GetCompact(); // Genesis block - if (pindexLast == NULL || komodo_is_notaryblock(*(CBlockHeader *)pblock) != 0 ) + if (pindexLast == NULL ) return nProofOfWorkLimit; // Find the first block in the averaging interval