Skip to content

Commit

Permalink
Merge branch 'mls' into nmolnar/message-publishing-services
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Oct 24, 2023
2 parents 1e68170 + 07791ed commit e3ab161
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/api/message/v3/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ func (s *Service) RegisterInstallation(ctx context.Context, req *proto.RegisterI
if err != nil {
return nil, status.Errorf(codes.InvalidArgument, "invalid identity: %s", err)
}

if len(results) != 1 {
return nil, status.Errorf(codes.Internal, "unexpected number of results: %d", len(results))
}
Expand Down Expand Up @@ -176,7 +175,6 @@ func (s *Service) UploadKeyPackages(ctx context.Context, req *proto.UploadKeyPac
for i, keyPackage := range req.KeyPackages {
keyPackageBytes[i] = keyPackage.KeyPackageTlsSerialized
}

validationResults, err := s.validationService.ValidateKeyPackages(ctx, keyPackageBytes)
if err != nil {
// TODO: Differentiate between validation errors and internal errors
Expand Down
1 change: 0 additions & 1 deletion pkg/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ func (s *Server) startGRPC() error {

// Enable the MLS server if a store is provided
if s.Config.MLSStore != nil && s.Config.MLSValidator != nil && s.Config.EnableMls {
s.Log.Info("Ready to start MLS service")
s.messagev3, err = messagev3.NewService(s.Waku, s.Log, s.Store, s.Config.MLSStore, s.Config.MLSValidator)
if err != nil {
return errors.Wrap(err, "creating mls service")
Expand Down

0 comments on commit e3ab161

Please sign in to comment.