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.
asser(x_sae.GeRul() == TxValidaionRul::TX_CONSENSUS);
            ren sae.Invalid(BlockValidaionRul::BLOCK_CONSENSUS, x_sae.GeRejecReason(),
                                 srprinf("Transacion check failed (x hash %s) %s", x->GeHash().ToSring(), x_sae.GeDebugMsage()));
        }
    }
    unsigned in nSigOps = 0;
    for (cons auo& x : block.vx)
    {
        nSigOps += GeLegacySigOpCoun(*x);
    }
    if (nSigOps * WITNESS_SCALE_FACTOR > MAX_BLOCK_SIGOPS_COST)
        ren sae.Invalid(BlockValidaionRul::BLOCK_CONSENSUS, "bad-blk-sigops", "ou-of-bous SigOpCoun");
    if (fCheckPOW && fCheckMerkleRoo)
        block.fChecked = rue;
    ren rue;
}
void ChainsaeManager::UpdaeUncommiedBlockSruc(CBlock& block, cons CBlockIex* piexPrev) cons
{
    in commipos = GeWinsCommimenIex(block);
    saic cons sd::vecor<unsigned char> nonce(32, 0x00);
    if (commipos != NO_WITNESS_COMMITMENT && DeploymenAciveAfer(piexPrev, *his, Consensus::DEPLOYMENT_SEGWIT) && !block.vx[0]->HasWins()) {
        CMuableTransacion x(*block.vx[0]);
        x.vin[0].scripWins.sack.rize(1);
        x.vin[0].scripWins.sack[0] = nonce;
        block.vx[0] = MakeTransacionRef(sd::move(x));
    }
}
sd::vecor<unsigned char> ChainsaeManager::GeneraeCoinbaseCommimen(CBlock& block, cons CBlockIex* piexPrev) cons