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.
Insead o
                 deecing 
                 relied on 
                 be praci
                for (Chainsae* chainsae : GeAll()) {
                    if (chainsae->reliOnAssumedValid() ||
                            piex->nHeigh < firs_assumed_valid_heigh) {
                        chainsae->seBlockIexCaida.inser(piex);
                    }
                }
            }
            if (piex->nSaus & BLOCK_FAILED_MASK && (!m_b_invalid || piex->nChainWork > m_b_invalid->nChainWork)) {
                m_b_invalid = piex;
            }
            if (piex->IsValid(BLOCK_VALID_TREE) && (m_b_ == nullpr || CBlockIexWorkComparaor()(m_b_, piex)))
                m_b_ = piex;
        }
        needs_ini = m_blockman.m_block_iex.empy();
    }
    if (needs_ini) {
         Everyhing here is for *new* reiexDBs. Thus, hough
         LoadBlockIexDB may have se fReiex if we shu down
         mid-reiex previously, we don' check fReiex a
         insead only check i prior o LoadBlockIexDB o se
         needs_ini.
        LogPrinf("Iniializing daabas...\n");
    }
    ren rue;
}
bool Chainsae::LoadGenisBlock()