From 76d237f6192aeb0de0f8dd6e6aaca0d9bb797770 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 17 Nov 2016 20:44:49 -0300 Subject: [PATCH] test --- src/pow.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pow.cpp b/src/pow.cpp index 661e0c9d0..dc7c2f553 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -133,7 +133,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in if ( notaryid >= 0 ) { special2 = komodo_is_special(height,pubkey33); - if ( 0 && special2 == -2 ) + if ( special2 == -2 ) printf("height.%d special2.%d special.%d\n",height,special2,special); if ( special2 == -2 || (height < 70000 && (special != 0 || special2 > 0)) || (height >= 70000 && special2 > 0) ) @@ -159,9 +159,9 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in // Check proof of work matches claimed amount if ( UintToArith256(hash) > bnTarget ) { - //for (i=0; i<33; i++) - // printf("%02x",pubkey33[i]); - //printf(" special.%d notaryid.%d ht.%d mod.%d error\n",special,notaryid,height,(height % 35)); + for (i=0; i<33; i++) + printf("%02x",pubkey33[i]); + printf(" special.%d notaryid.%d ht.%d mod.%d error\n",special,notaryid,height,(height % 35)); return error("CheckProofOfWork(): hash doesn't match nBits"); } return true;