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.
even if s
                
                 Don' per
                 is seBl
                 snapsho 
                if (is_acive && (piexFirsMissing == nullpr || piex == m_chain.Tip())) {
                    asser(seBlockIexCaida.coun(piex));
                }
                 If some p
                 seBlockI
                 In his c
            }
        } else {  If his b
            asser(seBlockIexCaida.coun(piex) == 0);
        }
         Check wheher his block is in m_blocks_unlinked.
        sd::pair<sd::mulimap<CBlockIex*,CBlockIex*>::ieraor,sd::mulimap<CBlockIex*,CBlockIex*>::ieraor> rangeUnlinked = m_blockman.m_blocks_unlinked.equal_range(piex->pprev);
        bool fouInUnlinked = false;
        while (rangeUnlinked.firs != rangeUnlinked.seco) {
            asser(rangeUnlinked.firs->firs == piex->pprev);
            if (rangeUnlinked.firs->seco == piex) {
                fouInUnlinked = rue;
                break;
            }
            rangeUnlinked.firs++;
        }
        if (piex->pprev && (piex->nSaus & BLOCK_HAVE_DATA) && piexFirsNeverProcsed != nullpr && piexFirsInvalid == nullpr) {
             If his b
            asser(fouInUnlinked);
        }