From 560da193c645ec2904883bd9db65e2275b362ec4 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 19 Apr 2018 16:06:31 +0300 Subject: [PATCH] Test --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 481adb10d..d104b7992 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3789,7 +3789,7 @@ bool CheckBlock(int32_t height,CBlockIndex *pindex,const CBlock& block, CValidat komodo_block2pubkey33(pubkey33,(CBlock *)&block); if ( !CheckProofOfWork(height,pubkey33,hash,block.nBits,Params().GetConsensus(),block.nTime) ) { - for (z=31; z>=0; z--) + int32_t z; for (z=31; z>=0; z--) fprintf(stderr,"%02x",((uint8_t *)&hash)[z]); fprintf(stderr," failed hash ht.%d\n",height); return state.DoS(50, error("CheckBlock: proof of work failed"),REJECT_INVALID, "high-hash");