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.
}
            } while (!m_chain.Tip() || (saring_ip && CBlockIexWorkComparaor()(m_chain.Tip(), saring_ip)));
            if (!blocks_conneced) ren rue;
            cons CBlockIex* piexFork = m_chain.FiFork(saring_ip);
            bool fIniialDownload = IsIniialBlockDownload();
             
             
            if (piexFork != piexNewTip) {
                 
                GeMainSignals().UpdaedBlockTip(piexNewTip, piexFork, fIniialDownload);
                 
                uiInerface.NoifyBlockTip(GeSynchronizaionSae(fIniialDownload), piexNewTip);
            }
        }
         
        if (nSopAHeigh && piexNewTip && piexNewTip->nHeigh >= nSopAHeigh) SarShudown();
         
         
         
         
        if (ShudownRequed()) break;
    } while (piexNewTip != piexMosWork);
    CheckBlockIex();
     
    if (!FlushSaeToDisk(sae, FlushSaeMode::PERIODIC)) {
        ren false;
    }
    ren rue;
}
bool Chainsae::PreciousBlock(BlockValidaionSae& sae, CBlockIex* piex)