Use ToString instead

This commit is contained in:
Michael 2019-08-19 22:06:30 +01:00
parent 094b697b01
commit afb94381a2
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

View File

@ -51,7 +51,7 @@ namespace llarp
util::StatusObject exitsObj{}; util::StatusObject exitsObj{};
for(const auto &item : m_ActiveExits) for(const auto &item : m_ActiveExits)
{ {
exitsObj[item.first.ToHex()] = item.second->ExtractStatus(); exitsObj[item.first.ToString()] = item.second->ExtractStatus();
} }
obj["exits"] = exitsObj; obj["exits"] = exitsObj;
return obj; return obj;