From 4efd206dd43c2d6f68fc1af7123f393c45cfd082 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 3 Jul 2025 19:14:39 -0400 Subject: [PATCH] build fix --- service/OneService.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/OneService.cpp b/service/OneService.cpp index a089d11a8..69a0daca0 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -709,8 +709,8 @@ static void _moonToJson(nlohmann::json& mj, const World& world) OSUtils::ztsnprintf(tmp, sizeof(tmp), "%.16llx", world.id()); mj["id"] = tmp; mj["timestamp"] = world.timestamp(); - mj["signature"] = Utils::hex(world.signature().data, ZT_C25519_SIGNATURE_LEN, tmp); - mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data, ZT_C25519_PUBLIC_KEY_LEN, tmp); + mj["signature"] = Utils::hex(world.signature().data, ZT_ECC_SIGNATURE_LEN, tmp); + mj["updatesMustBeSignedBy"] = Utils::hex(world.updatesMustBeSignedBy().data, ZT_ECC_PUBLIC_KEY_SET_LEN, tmp); nlohmann::json ra = nlohmann::json::array(); for (std::vector::const_iterator r(world.roots().begin()); r != world.roots().end(); ++r) { nlohmann::json rj;