Skip to content

Commit

Permalink
refactoring:
Browse files Browse the repository at this point in the history
- removed unused params2
  • Loading branch information
ConvallariaMaj committed Jul 23, 2024
1 parent 3313ff9 commit dee9103
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -1540,13 +1540,6 @@ func (app *App) grpcService(svc grpcserver.Service, lg log.Log) (grpcserver.Serv
service := v2alpha1.NewAccountService(app.db, app.conState)
app.grpcServices[svc] = service
return service, nil
case v2alpha1.NodeIdentities:
configuredPetServices := make(map[string]struct{})
for _, server := range app.Config.PoetServers {
configuredPetServices[server.Address] = struct{}{}
}
service := v2alpha1.NewSmeshingIdentitiesService(app.db, configuredPetServices)
app.grpcServices[svc] = service
}
return nil, fmt.Errorf("unknown service %s", svc)
}
Expand Down

0 comments on commit dee9103

Please sign in to comment.