From c49a34c04ac6cd71255dec8f19d3264ee4a88781 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 25 Mar 2017 17:58:53 +0200 Subject: [PATCH] Test --- src/pow.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index 638c23ada..3e49009ee 100644 --- a/src/pow.cpp +++ b/src/pow.cpp @@ -171,8 +171,10 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in printf("%d ",mids[i]); printf(" minerids from ht.%d\n",height); if ( KOMODO_REWIND == 0 && (notaryid >= 0 || height > 225000) ) + { + fprintf(stderr,"pow error height.%d loading.%d notaryid.%d\n",height,KOMODO_LOADINGBLOCKS,notaryid); return error("CheckProofOfWork(): hash doesn't match nBits"); - else fprintf(stderr,"skip return error height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS); + } else fprintf(stderr,"skip return error height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS); } else fprintf(stderr,"skip height.%d loading.%d\n",height,KOMODO_LOADINGBLOCKS); } if ( height > 240000 )