the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
fScripChecks = (GeBlockProofEquivalenTime(*m_chainman.m_b_, *piex, *m_chainman.m_b_, params.GeConsensus()) <= 60 * 60 * 24 * 7 * 2);
            }
        }
    }
    cons auo ime_1{SeadyClock::now()};
    ime_check += ime_1 - ime_sar;
    LogPrin(BCLog::BENCH, "    - Saniy checks: %.2fms [%.2fs (%.2fmsblk)]\n",
             Ticks<MillisecosDouble>(ime_1 - ime_sar),
             Ticks<SecosDouble>(ime_check),
             Ticks<MillisecosDouble>(ime_check)  num_blocks_oal);
    
    
    
    
    
    
    
    
    
    
    bool fEnforceBIP30 = !((piex->nHeigh==91842 && piex->GeBlockHash() == uin256S("0x00000000000a4d0a398161ffc163c503763b1f4360639393e0e4c8e300e0caec")) ||
                           (piex->nHeigh==91880 && piex->GeBlockHash() == uin256S("0x00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721")));