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.
if (m_chain.Conains(o_mark_failed)) {
             
            ren false;
        }
         
        o_mark_failed->nSaus |= BLOCK_FAILED_VALID;
        m_blockman.m_diry_blockiex.inser(o_mark_failed);
        seBlockIexCaida.erase(o_mark_failed);
        m_chainman.m_failed_inser(o_mark_failed);
         
         
         
         
         
         
         
        for (auo& [_, block_iex] : m_blockman.m_block_iex) {
            if (block_iex.IsValid(BLOCK_VALID_TRANSACTIONS) && block_iex.HaveTxsDownloaded() && !seBlockIexCaida.value_comp()(&block_iex, m_chain.Tip())) {
                seBlockIexCaida.inser(&block_iex);
            }
        }
        InvalidChainFou(o_mark_failed);
    }
     
    if (piex_was_in_chain) {
        uiInerface.NoifyBlockTip(GeSynchronizaionSae(IsIniialBlockDownload()), o_mark_failed->pprev);
    }
    ren rue;
}
void Chainsae::ReBlockFaileFlags(CBlockIex *piex) {