Merge pull request #224 from jl777/dev

skip ahead 65 blocks, fix for stuck sync from scratch. no need to update if already in sync
This commit is contained in:
jl777
2017-03-12 10:33:55 +02:00
committed by GitHub

View File

@@ -171,7 +171,7 @@ bool CheckProofOfWork(int32_t height,uint8_t *pubkey33,uint256 hash, unsigned in
for (i=0; i<66; i++) for (i=0; i<66; i++)
printf("%d ",mids[i]); printf("%d ",mids[i]);
printf(" minerids from ht.%d\n",height); printf(" minerids from ht.%d\n",height);
if ( notaryid >= 0 || height > 225000 ) if ( notaryid >= 0 || height > 225065 )
return error("CheckProofOfWork(): hash doesn't match nBits"); return error("CheckProofOfWork(): hash doesn't match nBits");
} }
} }