This commit is contained in:
jl777
2018-07-22 11:37:06 -11:00
parent a465e89d5a
commit 61cbf1c6fb
2 changed files with 3 additions and 3 deletions

View File

@@ -4482,7 +4482,7 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
bool checked; uint256 hash; int32_t futureblock=0;
auto verifier = libzcash::ProofVerifier::Disabled();
hash = pblock->GetHash();
fprintf(stderr,"ProcessBlock %d\n",(int32_t)chainActive.LastTip()->nHeight);
{
LOCK(cs_main);
if ( chainActive.LastTip() != 0 )
@@ -4522,7 +4522,8 @@ bool ProcessNewBlock(bool from_miner,int32_t height,CValidationState &state, CNo
if (futureblock == 0 && !ActivateBestChain(state, pblock))
return error("%s: ActivateBestChain failed", __func__);
fprintf(stderr,"finished ProcessBlock %d\n",(int32_t)chainActive.LastTip()->nHeight);
return true;
}