Skip to content

Commit

Permalink
Merge pull request #5712 from ethereum-optimism/refcell/node/cleanup
Browse files Browse the repository at this point in the history
fix(op-node): Remove Deprecated Public rpc.Api Field
  • Loading branch information
OptimismBot committed May 15, 2023
2 parents c1b6240 + 1d4a4c1 commit 1382586
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions op-node/node/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func newRPCServer(ctx context.Context, rpcCfg *RPCConfig, rollupCfg *rollup.Conf
apis: []rpc.API{{
Namespace: "optimism",
Service: api,
Public: true,
Authenticated: false,
}},
appVersion: appVersion,
Expand All @@ -51,7 +50,6 @@ func (s *rpcServer) EnableAdminAPI(api *adminAPI) {
Namespace: "admin",
Version: "",
Service: api,
Public: true, // TODO: this field is deprecated. Do we even need this anymore?
Authenticated: false,
})
}
Expand All @@ -61,7 +59,6 @@ func (s *rpcServer) EnableP2P(backend *p2p.APIBackend) {
Namespace: p2p.NamespaceRPC,
Version: "",
Service: backend,
Public: true,
Authenticated: false,
})
}
Expand Down

0 comments on commit 1382586

Please sign in to comment.