Commit 1d4a4c11 authored by Andreas Bigger's avatar Andreas Bigger

op-node: Remove Public api field.

parent c1b6240b
...@@ -37,7 +37,6 @@ func newRPCServer(ctx context.Context, rpcCfg *RPCConfig, rollupCfg *rollup.Conf ...@@ -37,7 +37,6 @@ func newRPCServer(ctx context.Context, rpcCfg *RPCConfig, rollupCfg *rollup.Conf
apis: []rpc.API{{ apis: []rpc.API{{
Namespace: "optimism", Namespace: "optimism",
Service: api, Service: api,
Public: true,
Authenticated: false, Authenticated: false,
}}, }},
appVersion: appVersion, appVersion: appVersion,
...@@ -51,7 +50,6 @@ func (s *rpcServer) EnableAdminAPI(api *adminAPI) { ...@@ -51,7 +50,6 @@ func (s *rpcServer) EnableAdminAPI(api *adminAPI) {
Namespace: "admin", Namespace: "admin",
Version: "", Version: "",
Service: api, Service: api,
Public: true, // TODO: this field is deprecated. Do we even need this anymore?
Authenticated: false, Authenticated: false,
}) })
} }
...@@ -61,7 +59,6 @@ func (s *rpcServer) EnableP2P(backend *p2p.APIBackend) { ...@@ -61,7 +59,6 @@ func (s *rpcServer) EnableP2P(backend *p2p.APIBackend) {
Namespace: p2p.NamespaceRPC, Namespace: p2p.NamespaceRPC,
Version: "", Version: "",
Service: backend, Service: backend,
Public: true,
Authenticated: false, Authenticated: false,
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment