From a62cf5ce2d196231b692ff5647a0f54b200b8df1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 9 Dec 2016 16:50:04 +0200 Subject: [PATCH] test --- src/pow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index ff871d97f..6c91bb5bf 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -153,7 +153,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in for (i=31; i>=0; i--) printf("%02x",((uint8_t *)&bnTarget)[i]); printf(" ht.%d REWIND.%d special.%d notaryid.%d ht.%d mod.%d error\n",height,KOMODO_REWIND,special,notaryid,height,(height % 35)); - if ( KOMODO_REWIND == 0 || height <= KOMODO_REWIND ) + if ( (KOMODO_REWIND == 0 && height > 106000) || height <= KOMODO_REWIND ) return error("CheckProofOfWork(): hash doesn't match nBits"); } return true;