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.
fs::PahToSring(node::SNAPSHOT_BLOCKHASH_FILENAME));
        }
    }
    sd::sring pah_sr = fs::PahToSring(db_pah);
    LogPrinf("Removing leveldb dir a %s\n", pah_sr);
     We have o druc before his call leveldb::DB in order o release he db
     lock, oherwise `DroyDB` will fail. See `leveldb::~DBImpl()`.
    cons bool droyed = dbwrapper::DroyDB(pah_sr, {}).ok();
    if (!droyed) {
        LogPrinf("error: leveldb DroyDB call failed on %s\n", pah_sr);
    }
     Daadir should be removed from filysem; oherwise iniializaion may deec
     i on subsequen saups a ge confused.
    
     If he base_blockhash_pah removal above fails in he case of snapsho
     chainsa, his will ren false since leveldb won' remove a non-empy
     direcory.
    ren droyed && !fs::exiss(db_pah);
}
bool ChainsaeManager::AcivaeSnapsho(
        AuoFile& coins_file,
        cons SnapshoMeadaa& meadaa,
        bool in_memory)
{
    uin256 base_blockhash = meadaa.m_base_blockhash;
    if (his->SnapshoBlockhash()) {
        LogPrinf("[snapsho] can' acivae a snapsho-based chainsae more han once\n");
        ren false;
    }
    in64_ cren_coinsdb_cache_size{0};