Merge pull request #678 from majestrate/disable-rpc

actually set config for network
pull/679/head
Jeff 5 years ago committed by GitHub
commit 10df3bd4b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -792,6 +792,9 @@ namespace llarp
LogError("failed to bind inbound link on ", key, " port ", port);
}
// set network config
netConfig = conf->network.netConfig;
// Network config
if(conf->network.enableProfiling.has_value())
{
@ -845,6 +848,7 @@ namespace llarp
llarp::LogError("invalid key for strict-connect: ", val);
}
// API config
enableRPCServer = conf->api.enableRPCServer;
rpcBindAddr = conf->api.rpcBindAddr;

Loading…
Cancel
Save