if (true && genesis.GetHash() != consensus.hashGenesisBlock)
{
printf("recalculating params for mainnet.\n");
printf("genesis.nNonce = %s\n", genesis.nNonce);
printf("old mainnet genesis hash: %s\n", consensus.hashGenesisBlock.ToString().c_str());
// deliberately empty for loop finds nonce value.
for(genesis.nNonce == 0; genesis.GetHash() > consensus.powLimit; genesis.nNonce++){ }
printf("new mainnet genesis merkle root: %s\n", genesis.hashMerkleRoot.ToString().c_str());
printf("genesis.nNonce = %s\n", genesis.nNonce);
printf("new mainnet genesis hash: %s\n", genesis.GetHash().ToString().c_str());
}
Ругается не могу понять почему
error: no match for ‘operator>’ (operand types are ‘uint256’ and ‘uint256’)