only add endpoint for hidden service if not service node

pull/1256/head
Jeff Becker 4 years ago
parent e33a1a2e0f
commit 1cbf50296c
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -573,8 +573,10 @@ namespace llarp
// API config
enableRPCServer = conf->api.m_enableRPCServer;
rpcBindAddr = conf->api.m_rpcBindAddr;
hiddenServiceContext().AddEndpoint(*conf);
if (not IsServiceNode())
{
hiddenServiceContext().AddEndpoint(*conf);
}
// Logging config
LogContext::Instance().Initialize(

Loading…
Cancel
Save