diff --git a/llarp/router/rc_lookup_handler.cpp b/llarp/router/rc_lookup_handler.cpp index dedc59079..c2df0c833 100644 --- a/llarp/router/rc_lookup_handler.cpp +++ b/llarp/router/rc_lookup_handler.cpp @@ -66,6 +66,12 @@ namespace llarp void RCLookupHandler::get_rc(const RouterID& rid, RCRequestCallback callback, bool forceLookup) { + (void)rid; + (void)callback; + (void)forceLookup; + /* RC refactor pending, this will likely go away entirely + * + * RemoteRC remoteRC; if (not forceLookup) @@ -104,6 +110,7 @@ namespace llarp // relays will need a different implementation TBD. if (!isServiceNode) hidden_service_context->GetDefault()->lookup_router(rid, std::move(lookup_cb)); + */ } bool diff --git a/llarp/service/endpoint.cpp b/llarp/service/endpoint.cpp index 8a3e4c56c..e1d93f347 100644 --- a/llarp/service/endpoint.cpp +++ b/llarp/service/endpoint.cpp @@ -856,6 +856,12 @@ namespace llarp::service bool Endpoint::lookup_router(RouterID rid, std::function func) { + (void)rid; + (void)func; + return false; + /* RC refactor pending, this will likely go away entirely + * + * auto path = GetEstablishedPathClosestTo(rid); auto response_cb = [func = std::move(func)](std::string resp, bool timeout) { @@ -883,6 +889,7 @@ namespace llarp::service path->find_router("find_router", std::move(response_cb)); return true; + */ } void