Running bitcoind version `Bitcoin Core version v22.99.0-952c37a31c39`

when I used `bitcoin-cli -netinfo` to check my network stats it displays

```
Bitcoin Core v22.0rc3 - 70016/Satoshi:22.99.0/
```

which is the version of my installed bitcoin-cli, not the running bitcoind
{
        if (!reply["error"].isNull()) return reply;
        const std::vector<UniValue>& nodes{reply["result"].getValues()};
        if (!nodes.empty() && nodes.at(0)["network"].isNull()) {
            throw std::runtime_error("-addrinfo requires bitcoind server to be running v22.0 and up");
        }
        
        std::array<uint64_t, m_networks.size()> counts{{}};
        for (const UniValue& node : nodes) {
            std::string network_name{node["network"].get_str()};
            if (network_name == "onion") {
                network_name = node["address"].get_str().size() > 22 ? "torv3" : "torv2";
            }
            const int8_t network_id{NetworkStringToId(network_name)};
            if (network_id == UNKNOWN_NETWORK) continue;
            ++counts.at(network_id);
        }
        
        UniValue result{UniValue::VOBJ}, addresses{UniValue::VOBJ};
        uint64_t total{0}; 
        for (size_t i = 0; i < m_networks.size(); ++i) {
            addresses.pushKV(m_networks.at(i), counts.at(i));
            total += counts.at(i);
        }
        addresses.pushKV("total", total);
        result.pushKV("addresses_known", addresses);
        return JSONRPCReplyObj(result, NullUniValue, 1);
    }
};
class GetinfoRequestHandler: public BaseRequestHandler