From 0ede506158bb0df0df55b75411f6ced3c368e827 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Apr 2018 13:19:11 +0300 Subject: [PATCH] Test --- src/pow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pow.cpp b/src/pow.cpp index 38ec0ce36..ad9bd14ac 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -169,6 +169,8 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in flag = ((height % KOMODO_ELECTION_GAP) > 64 || (height % KOMODO_ELECTION_GAP) == 0); else if ( height == 790833 ) flag = 1; + else if ( special2 < 0 ) + flag = 0; } if ( flag != 0 || special2 > 0 ) {