However, after replaced the hashGenesisBlock and hashMerkleRoot with values in debug.log, it then trapped in CheckProofOfWork():
ERROR: CheckProofOfWork() : hash doesn't match nBits
ERROR: CBlock::ReadFromDisk() : errors in block header
here is some info:
bnTarget.getuint256 = 00000000ffff0000000000000000000000000000000000000000000000000000
GetPoWHash() = 7e5dc830454890c1c373c22d355decca63c03a8d4caea66c32fb7c22658ac123
I don't see anyway to make it pass the following check in CheckProofOfWork():
Code:
if (hash > bnTarget.getuint256())
return error("CheckProofOfWork() : hash doesn't match nBits");
What am I doing wrong? thx.