From e3a0c010841c2d8f3401019b0866d49369e8fce3 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 13 Apr 2018 20:06:19 +0300 Subject: [PATCH] Test --- src/pow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index 15cec3e35..a6b5f7a45 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -190,7 +190,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in if ( UintToArith256(hash) > bnTarget ) { if ( KOMODO_LOADINGBLOCKS != 0 ) - return false; + return true; for (i=31; i>=0; i--) printf("%02x",((uint8_t *)&hash)[i]); printf(" hash vs "); @@ -208,6 +208,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in for (i=0; i<66; i++) printf("%d ",mids[i]); printf(" minerids from ht.%d pindex.%p\n",height,pindex); + return false; } return true; }