Half of the patch was correct, but half was introducing another bug,
where a wallet asking for a fork that the daemon does not know about
yet would decide to use those rules.
boolclose_enough=height>=earliest_height-early_blocks;// start using the rules that many blocks beforehand
boolclose_enough=height>=earliest_height-early_blocks&&earliest_height!=std::numeric_limits<uint64_t>::max();// start using the rules that many blocks beforehand