From 8b7565231648dc8abc2080b2f93528e6868cf5cf Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 2 Feb 2017 15:37:27 +0200 Subject: [PATCH] test --- src/pow.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pow.cpp b/src/pow.cpp index 09a9db294..0d8ec4bab 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -163,6 +163,9 @@ 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)); + for (i=0; i<33; i++) + printf("%02x",pubkey[i]); + printf(" <- pubkey\n"); if ( height < 90000 || (height > 110000 && KOMODO_REWIND == 0) ) return error("CheckProofOfWork(): hash doesn't match nBits"); }