cmd/geth: remove call to RegisterTestingAPI

This commit is contained in:
Felix Lange 2026-02-20 23:07:39 +01:00 committed by GitHub
parent 6ae2e4e647
commit a1e354b8e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -280,8 +280,6 @@ func makeFullNode(ctx *cli.Context) *node.Node {
}
utils.RegisterSyncOverrideService(stack, eth, synctarget, ctx.Bool(utils.ExitWhenSyncedFlag.Name))
catalyst.RegisterTestingAPI(stack, eth)
if ctx.IsSet(utils.DeveloperFlag.Name) {
// Start dev mode.
simBeacon, err := catalyst.NewSimulatedBeacon(ctx.Uint64(utils.DeveloperPeriodFlag.Name), cfg.Eth.Miner.PendingFeeRecipient, eth)