support net endpoints

This commit is contained in:
Ian Norden
2021-04-09 09:51:12 -05:00
parent 4ea61b08ca
commit 86aa1c16e6
8 changed files with 171 additions and 49 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ func startServers(server s.Server, settings *s.Config) error {
return err
}
logWithCommand.Info("starting up HTTP server")
_, err = srpc.StartHTTPEndpoint(settings.HTTPEndpoint, server.APIs(), []string{"eth"}, nil, []string{"*"}, rpc.HTTPTimeouts{})
_, err = srpc.StartHTTPEndpoint(settings.HTTPEndpoint, server.APIs(), []string{"eth", "net"}, nil, []string{"*"}, rpc.HTTPTimeouts{})
return err
}